Skip to content

Commit 184205d

Browse files
authored
Merge pull request #376 from aryaemami59/chore/ci-node-22
chore: update CI Node.js version to 22
2 parents 563c730 + cf2c0f0 commit 184205d

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.codesandbox/ci.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sandboxes": ["vanilla", "vanilla-ts"],
3-
"node": "18",
3+
"node": "20",
44
"buildCommand": "build",
55
"packages": ["."]
66
}

.github/workflows/test.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node: ['20.x']
11+
node: ['22.x']
1212

1313
steps:
1414
- name: Checkout repo
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
fail-fast: false
5050
matrix:
51-
node: ['20.x']
51+
node: ['22.x']
5252
steps:
5353
- name: Checkout repo
5454
uses: actions/checkout@v4
@@ -89,7 +89,7 @@ jobs:
8989
strategy:
9090
fail-fast: false
9191
matrix:
92-
node: ['20.x']
92+
node: ['22.x']
9393
ts: ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8']
9494

9595
steps:
@@ -135,7 +135,7 @@ jobs:
135135
strategy:
136136
fail-fast: false
137137
matrix:
138-
node: ['20.x']
138+
node: ['22.x']
139139
example:
140140
[
141141
'cra4',
@@ -210,11 +210,17 @@ jobs:
210210
strategy:
211211
fail-fast: false
212212
matrix:
213-
node: ['20.x']
213+
node: ['22.x']
214214
steps:
215215
- name: Checkout repo
216216
uses: actions/checkout@v4
217217

218+
- name: Use node ${{ matrix.node }}
219+
uses: actions/setup-node@v4
220+
with:
221+
node-version: ${{ matrix.node }}
222+
cache: 'yarn'
223+
218224
- uses: actions/download-artifact@v4
219225
with:
220226
name: package

0 commit comments

Comments
 (0)