Skip to content

Commit

Permalink
CI: Install the same version of NodeJS that is specified in `.tool-ve…
Browse files Browse the repository at this point in the history
…rsions`
  • Loading branch information
DilumAluthge committed Jun 19, 2024
1 parent faaa1ad commit 3e8411e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.tool-versions'

- name: "npm ci"
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-builds-defaultarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-node@v4
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
with:
node-version: 16
node-version-file: '.tool-versions'

- name: "Install dependencies"
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-builds-nightly-defaultarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-node@v4
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
with:
node-version: 16
node-version-file: '.tool-versions'

- name: "Install dependencies"
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-builds-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-node@v4
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
with:
node-version: 16
node-version-file: '.tool-versions'

- name: "Install dependencies"
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/setup-node@v4
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
with:
node-version: 16
node-version-file: '.tool-versions'

- name: "Install dependencies"
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
Expand Down

0 comments on commit 3e8411e

Please sign in to comment.