Skip to content

Commit 67397cd

Browse files
committed
ci(actions): update workflows to use node 20
1 parent 413fdcb commit 67397cd

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

.github/workflows/checks.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ jobs:
99
name: Checking size
1010
if: "!contains(github.event.head_commit.message, '[ci skip]')"
1111
steps:
12-
- name: Checkout the repository
12+
- name: Checkout repository
1313
uses: actions/checkout@v3
1414
- name: Install pnpm
1515
uses: pnpm/action-setup@v2
1616
with:
17-
version: 7
18-
- name: Install Node.js
17+
version: 8.11
18+
- name: Install Node
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: 16
21+
node-version: 20
2222
cache: 'pnpm'
23+
registry-url: 'https://registry.npmjs.org'
2324
- name: Check size
2425
uses: andresz1/size-limit-action@master
2526
with:
@@ -33,12 +34,13 @@ jobs:
3334
- name: Install pnpm
3435
uses: pnpm/action-setup@v2
3536
with:
36-
version: 7
37-
- name: Install Node.js
37+
version: 8.11
38+
- name: Install Node
3839
uses: actions/setup-node@v3
3940
with:
40-
node-version: 16
41+
node-version: 20
4142
cache: 'pnpm'
43+
registry-url: 'https://registry.npmjs.org'
4244
- name: Install dependencies
4345
run: pnpm install
4446
- name: Check storybook

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ jobs:
1313
- name: Install pnpm
1414
uses: pnpm/action-setup@v2
1515
with:
16-
version: 7
17-
- name: Install Node.js
16+
version: 8.11
17+
- name: Install Node
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: 16
20+
node-version: 20
2121
cache: 'pnpm'
22+
registry-url: 'https://registry.npmjs.org'
2223
- name: Install dependencies
2324
run: pnpm install
2425
- name: Run tests

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- name: Install pnpm
1313
uses: pnpm/action-setup@v2
1414
with:
15-
version: 7
16-
- name: Install Node.js
15+
version: 8.11
16+
- name: Install Node
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
cache: 'pnpm'
2121
registry-url: 'https://registry.npmjs.org'
2222
- name: Install dependencies

0 commit comments

Comments
 (0)