Skip to content

Commit 3e8411e

Browse files
committed
CI: Install the same version of NodeJS that is specified in .tool-versions
1 parent faaa1ad commit 3e8411e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/checkin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 20
19+
node-version-file: '.tool-versions'
2020

2121
- name: "npm ci"
2222
run: npm ci

.github/workflows/example-builds-defaultarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/setup-node@v4
2929
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
3030
with:
31-
node-version: 16
31+
node-version-file: '.tool-versions'
3232

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

.github/workflows/example-builds-nightly-defaultarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/setup-node@v4
3535
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
3636
with:
37-
node-version: 16
37+
node-version-file: '.tool-versions'
3838

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

.github/workflows/example-builds-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/setup-node@v4
3535
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
3636
with:
37-
node-version: 16
37+
node-version-file: '.tool-versions'
3838

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

.github/workflows/example-builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/setup-node@v4
3434
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
3535
with:
36-
node-version: 16
36+
node-version-file: '.tool-versions'
3737

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

0 commit comments

Comments
 (0)