Skip to content

Commit

Permalink
Merge pull request #12 from guardian/jw-configurable-nvmrc-path
Browse files Browse the repository at this point in the history
[snyk workflow] make path to node version file configurable
  • Loading branch information
jacobwinch committed Feb 25, 2022
2 parents 6fa7171 + d85d057 commit cc9efbd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sbt-node-snyk.yml
Expand Up @@ -13,6 +13,10 @@ on:
type: string
required: false
default: "11"
NODE_VERSION_FILE:
type: string
required: false
default: ".nvmrc"
secrets:
SNYK_TOKEN:
required: true
Expand All @@ -27,7 +31,7 @@ jobs:
- uses: snyk/actions/setup@0.3.0
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
node-version-file: ${{ inputs.NODE_VERSION_FILE }}

- uses: actions/setup-java@v2
with:
Expand Down

0 comments on commit cc9efbd

Please sign in to comment.