Skip to content

Commit 2b44e88

Browse files
authored
chore: get ready for node 24 (#1557)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Raised minimum Node.js requirement to 24 across the project (engines, .nvmrc). * Updated all CI/workflows (build, test, publish, website, scanning) to run on Node 24. * Bumped Node type definitions to v24. * **Documentation** * Updated contributing guide to require Node >= 24. Impact: Local development and builds now require Node.js 24 or newer. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent a753712 commit 2b44e88

14 files changed

+124
-124
lines changed

.github/workflows/code-scanning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# or others). This is typically only required for manual builds.
5050
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
5151
with:
52-
node-version: "22"
52+
node-version: "24"
5353

5454
# Initializes the CodeQL tools for scanning.
5555
- name: Initialize CodeQL

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
persist-credentials: false
2929
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3030
with:
31-
node-version: "22"
31+
node-version: "24"
3232
- name: Install wasm-bindgen
3333
uses: taiki-e/install-action@4351b0c7eac445cb6f5a730526fcaef1473d3ea6 # v2
3434
with:

.github/workflows/deploy-main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
cache: false
3737
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3838
with:
39-
node-version: "22"
39+
node-version: "24"
4040
- name: Install wasm-bindgen
4141
uses: taiki-e/install-action@4351b0c7eac445cb6f5a730526fcaef1473d3ea6 # v2
4242
with:
@@ -120,7 +120,7 @@ jobs:
120120
persist-credentials: false
121121
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
122122
with:
123-
node-version: "22"
123+
node-version: "24"
124124
registry-url: "https://registry.npmjs.org"
125125
- name: Install
126126
run: |
@@ -168,7 +168,7 @@ jobs:
168168
persist-credentials: false
169169
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
170170
with:
171-
node-version: "22"
171+
node-version: "24"
172172
registry-url: "https://registry.npmjs.org"
173173
- name: Install
174174
run: |

.github/workflows/nodejs-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
3333
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3434
with:
35-
node-version: "22"
35+
node-version: "24"
3636
- run: |
3737
pnpm dedupe --check
3838
pnpm dlx sherif@latest

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
persist-credentials: false
4141
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
4242
with:
43-
node-version: "22"
43+
node-version: "24"
4444
- name: Install
4545
run: |
4646
npm install -g corepack@latest

.github/workflows/workflow-bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
persist-credentials: false
2121
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2222
with:
23-
node-version: "22"
23+
node-version: "24"
2424
- name: Install
2525
run: |
2626
npm install -g corepack@latest

.github/workflows/workflow-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
persist-credentials: false
8282
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
8383
with:
84-
node-version: "22"
84+
node-version: "24"
8585
- name: TurboCache
8686
uses: lynx-infra/cache@5c6160a6a4c7fca80a2f3057bb9dfc9513fcb732
8787
with:

.github/workflows/workflow-bundle-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
persist-credentials: false
3030
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3131
with:
32-
node-version: "22"
32+
node-version: "24"
3333
- name: TurboCache
3434
uses: lynx-infra/cache@5c6160a6a4c7fca80a2f3057bb9dfc9513fcb732
3535
with:

.github/workflows/workflow-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
persist-credentials: false
4747
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
4848
with:
49-
node-version: "22"
49+
node-version: "24"
5050
- name: TurboCache
5151
uses: lynx-infra/cache@5c6160a6a4c7fca80a2f3057bb9dfc9513fcb732
5252
with:

.github/workflows/workflow-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
persist-credentials: false
1818
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1919
with:
20-
node-version: "22"
20+
node-version: "24"
2121
- name: TurboCache
2222
uses: lynx-infra/cache@5c6160a6a4c7fca80a2f3057bb9dfc9513fcb732
2323
with:

0 commit comments

Comments
 (0)