Skip to content

Commit d09b1e9

Browse files
committed
[repo] Fix Node versions in Actions
1 parent 5cca463 commit d09b1e9

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

.github/workflows/fetch-obsolete-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: 18.x
27+
node-version-file: '.nvmrc'
2828
cache: yarn
2929

3030
- name: Install dependencies

.github/workflows/lint-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- name: Setup Node.js environment
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: "18"
24+
node-version-file: '.nvmrc'
25+
cache: yarn
2526

2627
- name: Install dependencies
2728
run: yarn install --immutable

.github/workflows/markdown-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
- name: Setup Node.js environment
1414
uses: actions/setup-node@v4
1515
with:
16-
node-version: "18"
16+
node-version-file: '.nvmrc'
17+
cache: yarn
1718

1819
- name: Install dependencies
1920
run: yarn install --immutable

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 18.x
18+
node-version-file: '.nvmrc'
1919
cache: yarn
2020

2121
- name: Install dependencies

.github/workflows/update-moodle-metadata.yml

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

2727
- uses: actions/setup-node@v4
2828
with:
29-
node-version: 18.x
29+
node-version-file: '.nvmrc'
3030
cache: yarn
3131

3232
- name: Install dependencies

.github/workflows/update-wikimedia.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: 18.x
25+
node-version-file: '.nvmrc'
2626
cache: yarn
2727

2828
- name: Install dependencies

0 commit comments

Comments
 (0)