Skip to content

Commit b8ad87c

Browse files
authored
Merge pull request #743 from aryaemami59/chore/ci-node-22
chore: update CI Node.js version to 22
2 parents cf4246f + a08f07d commit b8ad87c

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/build-and-test-types.yml

Lines changed: 11 additions & 5 deletions
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 code
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Node
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 20.x
20+
node-version: ${{ matrix.node }}
2121
cache: 'yarn'
2222

2323
- name: Install dependencies
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
fail-fast: false
5454
matrix:
55-
node: ['20.x']
55+
node: ['22.x']
5656
ts: ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8']
5757

5858
steps:
@@ -99,11 +99,17 @@ jobs:
9999
strategy:
100100
fail-fast: false
101101
matrix:
102-
node: ['20.x']
102+
node: ['22.x']
103103
steps:
104104
- name: Checkout repo
105105
uses: actions/checkout@v4
106106

107+
- name: Use node ${{ matrix.node }}
108+
uses: actions/setup-node@v4
109+
with:
110+
node-version: ${{ matrix.node }}
111+
cache: 'yarn'
112+
107113
- uses: actions/download-artifact@v4
108114
with:
109115
name: package
@@ -121,7 +127,7 @@ jobs:
121127
strategy:
122128
fail-fast: false
123129
matrix:
124-
node: ['20.x']
130+
node: ['22.x']
125131
example:
126132
[
127133
'cra4',

.github/workflows/publish.yml

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

0 commit comments

Comments
 (0)