Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,18 @@ on:
type: string
default: ""

enable-type-check:
description: "Run the type-check step in the TS job. Disable for plain-JS packages with no type/build layer."
type: boolean
default: true
enable-format-check:
description: "Run the Prettier format check in the TS job."
type: boolean
default: true
enable-gitleaks:
description: "Run the gitleaks secret-scanning job. Disable where a GITLEAKS_LICENSE is unavailable."
type: boolean
default: true
enable-test:
description: "Run the test job."
type: boolean
Expand Down Expand Up @@ -159,6 +167,7 @@ jobs:
lint-cmd: ${{ inputs.lint-cmd }}
type-check-cmd: ${{ inputs.type-check-cmd }}
format-check-cmd: ${{ inputs.format-check-cmd }}
enable-type-check: ${{ inputs.enable-type-check }}
enable-format-check: ${{ inputs.enable-format-check }}
pre-command: ${{ inputs.pre-command }}

Expand Down Expand Up @@ -213,6 +222,7 @@ jobs:

gitleaks:
name: Secret Scanning
if: ${{ inputs.enable-gitleaks }}
uses: netresearch/.github/.github/workflows/gitleaks.yml@main
permissions:
contents: read
Expand Down
Loading