Skip to content

Commit 3f8b3e6

Browse files
authored
chore(ci): upgrade Node 22 -> 24 across all workflows (#3045)
Standardize CI on Node 24 (active LTS), matching facebook/lexical. Node 24 bundles npm 11.x, which natively supports OIDC trusted publishing (npm >= 11.5.1) — Node 22 shipped npm 10.x, which is why the first OIDC publish 404'd. Bumps node-version 22 -> 24 in all 9 workflows (17 occurrences): ci, deploy, lint, cli-smoke-test, codemod-verify, vercel-preview, vibe-screenshots, redeploy-preview. No engines/.nvmrc pin exists, so workflows are the only source of truth. Independent of the #3044 npm-upgrade fix (which stays as belt-and-suspenders).
1 parent 02404f7 commit 3f8b3e6

8 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- uses: pnpm/action-setup@v6
6363
- uses: actions/setup-node@v6
6464
with:
65-
node-version: 22
65+
node-version: 24
6666
cache: 'pnpm'
6767

6868
- run: pnpm install --frozen-lockfile
@@ -118,7 +118,7 @@ jobs:
118118
- uses: actions/setup-node@v6
119119
if: needs.check-scope.outputs.docsite_only != 'true'
120120
with:
121-
node-version: 22
121+
node-version: 24
122122
cache: 'pnpm'
123123

124124
- run: pnpm install --frozen-lockfile
@@ -172,7 +172,7 @@ jobs:
172172
if: needs.check-scope.outputs.docsite_only != 'true'
173173
uses: actions/setup-node@v6
174174
with:
175-
node-version: 22
175+
node-version: 24
176176
cache: 'pnpm'
177177

178178
- name: Install dependencies
@@ -358,7 +358,7 @@ jobs:
358358
- name: Setup Node.js
359359
uses: actions/setup-node@v6
360360
with:
361-
node-version: 22
361+
node-version: 24
362362

363363
- name: Download analysis artifact
364364
uses: actions/download-artifact@v8
@@ -435,7 +435,7 @@ jobs:
435435
- name: Setup Node.js
436436
uses: actions/setup-node@v6
437437
with:
438-
node-version: 22
438+
node-version: 24
439439
cache: 'pnpm'
440440

441441
- name: Download analysis artifact
@@ -482,7 +482,7 @@ jobs:
482482
- name: Setup Node.js
483483
uses: actions/setup-node@v6
484484
with:
485-
node-version: 22
485+
node-version: 24
486486

487487
- name: Download analysis artifact
488488
uses: actions/download-artifact@v8

.github/workflows/cli-smoke-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: pnpm/action-setup@v6
2929
- uses: actions/setup-node@v6
3030
with:
31-
node-version: 22
31+
node-version: 24
3232
cache: "pnpm"
3333

3434
- run: pnpm install --frozen-lockfile

.github/workflows/codemod-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- uses: pnpm/action-setup@v6
4141
- uses: actions/setup-node@v6
4242
with:
43-
node-version: 22
43+
node-version: 24
4444
cache: "pnpm"
4545

4646
- run: pnpm install --frozen-lockfile

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- uses: pnpm/action-setup@v6
5656
- uses: actions/setup-node@v6
5757
with:
58-
node-version: 22
58+
node-version: 24
5959
cache: 'pnpm'
6060

6161
- run: pnpm install --frozen-lockfile
@@ -82,7 +82,7 @@ jobs:
8282
- name: Setup Node.js
8383
uses: actions/setup-node@v6
8484
with:
85-
node-version: 22
85+
node-version: 24
8686
cache: 'pnpm'
8787

8888
- name: Install dependencies
@@ -294,7 +294,7 @@ jobs:
294294
- name: Setup Node.js
295295
uses: actions/setup-node@v6
296296
with:
297-
node-version: 22
297+
node-version: 24
298298
cache: 'pnpm'
299299
registry-url: 'https://registry.npmjs.org'
300300

@@ -331,7 +331,7 @@ jobs:
331331
- name: Setup Node.js
332332
uses: actions/setup-node@v6
333333
with:
334-
node-version: 22
334+
node-version: 24
335335
cache: 'pnpm'
336336
registry-url: 'https://registry.npmjs.org'
337337

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/setup-node@v6
4747
if: steps.scope.outputs.docsite_only != 'true'
4848
with:
49-
node-version: 22
49+
node-version: 24
5050
cache: 'pnpm'
5151

5252
- run: pnpm install --frozen-lockfile

.github/workflows/redeploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup Node.js
5454
uses: actions/setup-node@v6
5555
with:
56-
node-version: 22
56+
node-version: 24
5757
cache: pnpm
5858

5959
- name: Install dependencies

.github/workflows/vercel-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Node.js
4444
uses: actions/setup-node@v6
4545
with:
46-
node-version: 22
46+
node-version: 24
4747
cache: 'pnpm'
4848

4949
- name: Install Vercel CLI

.github/workflows/vibe-screenshots.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Node.js
4848
uses: actions/setup-node@v6
4949
with:
50-
node-version: '22'
50+
node-version: '24'
5151
cache: 'pnpm'
5252

5353
- name: Install dependencies
@@ -90,7 +90,7 @@ jobs:
9090
- name: Setup Node.js
9191
uses: actions/setup-node@v6
9292
with:
93-
node-version: '22'
93+
node-version: '24'
9494
cache: 'pnpm'
9595

9696
- name: Install dependencies

0 commit comments

Comments
 (0)