Skip to content

Commit 519f968

Browse files
committed
try without PACKAGES_TOKEN
1 parent 3624428 commit 519f968

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/actions/node-install/action.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: 'npm install and setup'
22
description: 'Setup node, authenticate github package repository and perform clean npm install'
33

44
inputs:
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
@@ -15,7 +12,7 @@ runs:
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

.github/workflows/stage-1-commit.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)