Skip to content

Commit d9a4b1a

Browse files
Ian-Hodgessimonlabarere
authored andcommitted
CCM-12614: add github package manager authentication
1 parent b47da0a commit d9a4b1a

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/actions/acceptance-tests/action.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,23 @@ runs:
2525
using: "composite"
2626

2727
steps:
28+
- name: Get Node version
29+
id: nodejs_version
30+
shell: bash
31+
run: |
32+
echo "nodejs_version=$(grep "^nodejs\s" .tool-versions | cut -f2 -d' ')" >> $GITHUB_OUTPUT
33+
- uses: ./.github/actions/node-install
34+
with:
35+
node-version: ${{ steps.nodejs_version.outputs.nodejs_version }}
36+
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
2837
- name: "Repo setup"
2938
shell: bash
3039
run: |
3140
npm ci
32-
3341
- name: "Generate dependencies"
3442
shell: bash
3543
run: |
3644
npm run generate-dependencies
37-
3845
- name: Run test - ${{ inputs.testType }}
3946
shell: bash
4047
run: |
@@ -51,7 +58,6 @@ runs:
5158
env:
5259
TEST_TYPE: ${{ inputs.testType }}
5360
ENVIRONMENT: ${{ inputs.targetEnvironment }}
54-
5561
- name: Archive integration test results
5662
if: ${{ inputs.testType == 'integration' }}
5763
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)