Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6cb6e65

Browse files
committed
chore: update CI Node.js version to 22
1 parent1482ce3 commit6cb6e65

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

‎.codesandbox/ci.json‎

Lines changed: 1 addition & 1 deletion
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/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.yml‎

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ jobs:
77
name:Build and run test Suite
88
runs-on:ubuntu-latest
99

10+
strategy:
11+
matrix:
12+
node:['22.x']
13+
1014
steps:
1115
-name:Checkout code
1216
uses:actions/checkout@v4
1317

14-
-name:Set up Node
18+
-name:Use node ${{ matrix.node }}
1519
uses:actions/setup-node@v4
1620
with:
17-
node-version:20.x
21+
node-version:${{ matrix.node }}
1822
cache:'yarn'
1923

2024
-name:Install dependencies
@@ -45,7 +49,7 @@ jobs:
4549
strategy:
4650
fail-fast:false
4751
matrix:
48-
node:['20.x']
52+
node:['22.x']
4953
ts:['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8']
5054
react:
5155
[
@@ -107,11 +111,17 @@ jobs:
107111
strategy:
108112
fail-fast:false
109113
matrix:
110-
node:['20.x']
114+
node:['22.x']
111115
steps:
112116
-name:Checkout repo
113117
uses:actions/checkout@v4
114118

119+
-name:Use node ${{ matrix.node }}
120+
uses:actions/setup-node@v4
121+
with:
122+
node-version:${{ matrix.node }}
123+
cache:'yarn'
124+
115125
-uses:actions/download-artifact@v4
116126
with:
117127
name:package
@@ -129,7 +139,7 @@ jobs:
129139
strategy:
130140
fail-fast:false
131141
matrix:
132-
node:['20.x']
142+
node:['22.x']
133143
example:
134144
[
135145
'cra4',
@@ -207,7 +217,7 @@ jobs:
207217
strategy:
208218
fail-fast:false
209219
matrix:
210-
node:['20.x']
220+
node:['22.x']
211221
example:['rr-rsc-context']
212222
defaults:
213223
run:
@@ -252,7 +262,7 @@ jobs:
252262
strategy:
253263
fail-fast:false
254264
matrix:
255-
node:['20.x']
265+
node:['22.x']
256266
react:
257267
[
258268
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp