Skip to content

Commit 211fd09

Browse files
authored
Upgrade to Node v24 (#3278)
## Summary: Node 20 is reach the end of its support window. Node 24 is the new LTS so we need to upgrade to it. NOTE: We will need to change the required checks to use the Node 24.x check once this lands. Issue: FEI-7101 ## Test plan: - pnpm test - let CI run all checks Author: kevinb-khan Reviewers: handeyeco, jeremywiebe, kevinb-khan Required Reviewers: Approved By: handeyeco, jeremywiebe Checks: ⏭️ 1 check has been skipped, ✅ 10 checks were successful Pull Request URL: #3278
1 parent 404ff15 commit 211fd09

9 files changed

Lines changed: 17 additions & 13 deletions

File tree

.changeset/eighty-rules-thank.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest]
26-
node-version: [20.x]
26+
node-version: [24.x]
2727
steps:
2828
# chromaui/@action doesn't work with shallow checkouts which is the
2929
# default for actions/checkout so we need to force it to checkout

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install & cache node_modules
2222
uses: ./.github/actions/shared-node-cache
2323
with:
24-
node-version: 20.x
24+
node-version: 24.x
2525

2626
- name: Build Storybook
2727
# Generate a static version of storybook inside "storybook-static/"

.github/workflows/maintenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix:
2323
os: [ubuntu-latest]
24-
node-version: [20.x]
24+
node-version: [24.x]
2525
steps:
2626
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727

.github/workflows/node-ci-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# which is very helpful.
3232
matrix:
3333
os: [ubuntu-latest]
34-
node-version: [20.x]
34+
node-version: [24.x]
3535
steps:
3636
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737

.github/workflows/node-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix:
2323
os: [ubuntu-latest]
24-
node-version: [20.x]
24+
node-version: [24.x]
2525
steps:
2626
- name: Checkout repository
2727
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
matrix:
7171
os: [ubuntu-latest]
72-
node-version: [20.x]
72+
node-version: [24.x]
7373
steps:
7474
- name: Checking out latest commit
7575
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -151,7 +151,7 @@ jobs:
151151
strategy:
152152
matrix:
153153
os: [ubuntu-latest]
154-
node-version: [20.x]
154+
node-version: [24.x]
155155
steps:
156156
- name: Checking out latest commit
157157
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -196,7 +196,7 @@ jobs:
196196
strategy:
197197
matrix:
198198
os: [ubuntu-latest]
199-
node-version: [20.x]
199+
node-version: [24.x]
200200
steps:
201201
- name: Checking out latest commit
202202
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -232,7 +232,7 @@ jobs:
232232
strategy:
233233
matrix:
234234
os: [ubuntu-latest]
235-
node-version: [20.x]
235+
node-version: [24.x]
236236
steps:
237237
- name: Check out latest commit
238238
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -262,7 +262,7 @@ jobs:
262262
strategy:
263263
matrix:
264264
os: [ubuntu-latest]
265-
node-version: [20.x]
265+
node-version: [24.x]
266266
steps:
267267
- name: Check out latest commit
268268
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
matrix:
7171
os: [ubuntu-latest]
72-
node-version: [20.x]
72+
node-version: [24.x]
7373
steps:
7474
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7575
with:
@@ -152,7 +152,7 @@ jobs:
152152
strategy:
153153
matrix:
154154
os: [ubuntu-latest]
155-
node-version: [20.x]
155+
node-version: [24.x]
156156
steps:
157157
# We need to checkout all history, so that the changeseat tool can diff it
158158
- name: Checkout current commit

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
node = { version = "24.13", postinstall = "corepack enable" }

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"private": true,
88
"engines": {
9-
"node": ">=20.20 <21"
9+
"node": ">=20.20 <25"
1010
},
1111
"devDependencies": {
1212
"@babel/core": "^7.23.2",

0 commit comments

Comments
 (0)