Skip to content

Commit 7efebb6

Browse files
committed
another go
1 parent 4e060b6 commit 7efebb6

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@ runs:
2828
with:
2929
name: terraform-output-${{ inputs.targetComponent }}
3030

31-
- name: 'Install dependencies'
32-
shell: bash
33-
env:
34-
NODE_AUTH_TOKEN: ${{ env.GITHUB_TOKEN }}
31+
- name: Get Node version
32+
id: nodejs_version
3533
run: |
36-
npm ci
34+
echo "nodejs_version=$(grep "^nodejs\s" .tool-versions | cut -f2 -d' ')" >> $GITHUB_OUTPUT
35+
36+
- name: "Repo setup"
37+
uses: ./.github/actions/node-install
38+
with:
39+
node-version: ${{ steps.nodejs_version.outputs.nodejs_version }}
40+
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
3741

3842
- name: "Set PR NUMBER"
3943
shell: bash

0 commit comments

Comments
 (0)