Skip to content

Commit 23e9ec2

Browse files
committed
chore: update CI Node.js version to 22
1 parent f6ad1ad commit 23e9ec2

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"sandboxes": ["vanilla", "vanilla-ts"],
3-
"node": "18"
3+
"node": "20"
44
}

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: '20.x'
17+
node-version: '22.x'
1818
registry-url: 'https://registry.npmjs.org'
1919
cache: 'yarn'
2020
- run: yarn install --frozen-lockfile

.github/workflows/test.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
node: ['20.x']
33+
node: ['22.x']
3434

3535
steps:
3636
- name: Checkout repo
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
fail-fast: false
7171
matrix:
72-
node: ['20.x']
72+
node: ['22.x']
7373
steps:
7474
- name: Checkout repo
7575
uses: actions/checkout@v4
@@ -109,7 +109,7 @@ jobs:
109109
strategy:
110110
fail-fast: false
111111
matrix:
112-
node: ['20.x']
112+
node: ['22.x']
113113
ts: ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8']
114114
steps:
115115
- name: Checkout repo
@@ -153,11 +153,17 @@ jobs:
153153
strategy:
154154
fail-fast: false
155155
matrix:
156-
node: ['20.x']
156+
node: ['22.x']
157157
steps:
158158
- name: Checkout repo
159159
uses: actions/checkout@v4
160160

161+
- name: Use node ${{ matrix.node }}
162+
uses: actions/setup-node@v4
163+
with:
164+
node-version: ${{ matrix.node }}
165+
cache: 'yarn'
166+
161167
- uses: actions/download-artifact@v4
162168
with:
163169
name: package
@@ -175,7 +181,7 @@ jobs:
175181
strategy:
176182
fail-fast: false
177183
matrix:
178-
node: ['20.x']
184+
node: ['22.x']
179185
example:
180186
[
181187
'cra4',

0 commit comments

Comments
 (0)