Skip to content

Commit 5ceeaa9

Browse files
authored
Upgrade GitHub Actions for Node 24 compatibility (#8102)
## Summary Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026. ## Changes | Action | Old Version(s) | New Version | Release | Files | |--------|---------------|-------------|---------|-------| | `actions/setup-node` | [`v5`](https://github.com/actions/setup-node/releases/tag/v5) | [`v6`](https://github.com/actions/setup-node/releases/tag/v6) | [Release](https://github.com/actions/setup-node/releases/tag/v6) | ci.yml, rust-release.yml, sdk.yml, shell-tool-mcp-ci.yml, shell-tool-mcp.yml | ## Context Per [GitHub's announcement](https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/), Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026. ### Why this matters - **Node 20 EOL**: April 2026 - **Node 24 default**: March 4th, 2026 - **Action**: Update to latest action versions that support Node 24 ### Security Note Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references. ### Testing These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.
1 parent b27c702 commit 5ceeaa9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run_install: false
2121

2222
- name: Setup Node.js
23-
uses: actions/setup-node@v5
23+
uses: actions/setup-node@v6
2424
with:
2525
node-version: 22
2626

.github/workflows/rust-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ jobs:
306306
run_install: false
307307

308308
- name: Setup Node.js for npm packaging
309-
uses: actions/setup-node@v5
309+
uses: actions/setup-node@v6
310310
with:
311311
node-version: 22
312312

@@ -357,7 +357,7 @@ jobs:
357357

358358
steps:
359359
- name: Setup Node.js
360-
uses: actions/setup-node@v5
360+
uses: actions/setup-node@v6
361361
with:
362362
node-version: 22
363363
registry-url: "https://registry.npmjs.org"

.github/workflows/sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run_install: false
2020

2121
- name: Setup Node.js
22-
uses: actions/setup-node@v5
22+
uses: actions/setup-node@v6
2323
with:
2424
node-version: 22
2525
cache: pnpm

.github/workflows/shell-tool-mcp-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run_install: false
3131

3232
- name: Setup Node.js
33-
uses: actions/setup-node@v5
33+
uses: actions/setup-node@v6
3434
with:
3535
node-version: ${{ env.NODE_VERSION }}
3636
cache: "pnpm"

.github/workflows/shell-tool-mcp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ jobs:
280280
run_install: false
281281

282282
- name: Setup Node.js
283-
uses: actions/setup-node@v5
283+
uses: actions/setup-node@v6
284284
with:
285285
node-version: ${{ env.NODE_VERSION }}
286286

@@ -376,7 +376,7 @@ jobs:
376376
run_install: false
377377

378378
- name: Setup Node.js
379-
uses: actions/setup-node@v5
379+
uses: actions/setup-node@v6
380380
with:
381381
node-version: ${{ env.NODE_VERSION }}
382382
registry-url: https://registry.npmjs.org

0 commit comments

Comments
 (0)