File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ name: 'npm install and setup'
22description : ' Setup node, authenticate github package repository and perform clean npm install'
33
44inputs :
5- node-version :
6- description : ' Node.js version'
7- required : true
85 GITHUB_TOKEN :
96 description : " Token for access to github package registry"
107 required : true
1512 - name : ' Use Node.js'
1613 uses : actions/setup-node@v6
1714 with :
18- node-version : ' ${{ inputs.node-version }} '
15+ node-version-file : ' .tool-versions '
1916 registry-url : ' https://npm.pkg.github.com'
2017 scope : ' @nhsdigital'
2118
Original file line number Diff line number Diff line change @@ -53,13 +53,11 @@ jobs:
5353 - name : " Repo setup"
5454 uses : ./.github/actions/node-install
5555 with :
56- node-version : 22.15.0
5756 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5857 - name : " Run provider contract tests"
5958 run : make test-contract
6059 env :
6160 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62- GITHUB_PACKAGES_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6361
6462 scan-secrets :
6563 name : " Scan secrets"
You can’t perform that action at this time.
0 commit comments