Skip to content

Commit 9fb032d

Browse files
authored
chore: update CI Node.js version to 22 (#4878)
* chore: update CI Node.js version to 22 * chore: downgrade CSB Node.js version to 20
1 parent ac26766 commit 9fb032d

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.codesandbox/ci.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"/examples/action-listener/counter",
88
"/examples/publish-ci/cra5"
99
],
10-
"node": "18",
10+
"node": "20",
1111
"buildCommand": "build:packages",
1212
"packages": [
1313
"packages/toolkit",

.github/workflows/publish.yml

+1-1
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: '20.x'
27+
node-version: '22.x'
2828
registry-url: 'https://registry.npmjs.org'
2929
cache: 'yarn'
3030
- run: yarn install --frozen-lockfile

.github/workflows/test-codegen.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
strategy:
4141
matrix:
42-
node-version: ['20.x']
42+
node-version: ['22.x']
4343
os: [ubuntu-latest]
4444

4545
steps:
@@ -79,7 +79,7 @@ jobs:
7979
strategy:
8080
fail-fast: false
8181
matrix:
82-
node-version: [20.x]
82+
node-version: [22.x]
8383
os: [ubuntu-latest]
8484

8585
steps:
@@ -125,7 +125,7 @@ jobs:
125125
strategy:
126126
fail-fast: false
127127
matrix:
128-
node-version: [20.x]
128+
node-version: [22.x]
129129
steps:
130130
- name: Checkout repo
131131
uses: actions/checkout@v4

.github/workflows/tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
node: ['20.x']
34+
node: ['22.x']
3535

3636
steps:
3737
- name: Checkout repo
@@ -68,7 +68,7 @@ jobs:
6868
strategy:
6969
fail-fast: false
7070
matrix:
71-
node: ['20.x']
71+
node: ['22.x']
7272
react:
7373
[
7474
{
@@ -130,7 +130,7 @@ jobs:
130130
strategy:
131131
fail-fast: false
132132
matrix:
133-
node: ['20.x']
133+
node: ['22.x']
134134
ts: ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5']
135135
react:
136136
[
@@ -194,7 +194,7 @@ jobs:
194194
strategy:
195195
fail-fast: false
196196
matrix:
197-
node: ['20.x']
197+
node: ['22.x']
198198
example:
199199
[
200200
'cra4',
@@ -264,7 +264,7 @@ jobs:
264264
strategy:
265265
fail-fast: false
266266
matrix:
267-
node: ['20.x']
267+
node: ['22.x']
268268
steps:
269269
- name: Checkout repo
270270
uses: actions/checkout@v4
@@ -296,7 +296,7 @@ jobs:
296296
strategy:
297297
fail-fast: false
298298
matrix:
299-
node: ['20.x']
299+
node: ['22.x']
300300
ts: ['5.3', '5.4', '5.5', 'next']
301301
example:
302302
[

0 commit comments

Comments
 (0)