Skip to content

Commit bc34499

Browse files
committed
chore: bump CI Node version 20 → 26
1 parent fca8493 commit bc34499

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2626
with:
27-
node-version: '20'
27+
node-version: '26'
2828
cache: 'npm'
2929

3030
- name: Install dependencies

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,16 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2222
with:
23-
node-version: '20'
23+
node-version: '26'
2424
registry-url: 'https://registry.npmjs.org/'
2525

2626
# ──────────────────────────────────────────────────────────────────────
2727
# ⚠️ DO NOT REMOVE / DO NOT "SIMPLIFY" THIS STEP. It is load-bearing.
2828
#
2929
# Tokenless OIDC "trusted publishing" (used below — `npm publish --provenance`
30-
# with NO NODE_AUTH_TOKEN) requires npm >= 11.5.1, but the GitHub-hosted
31-
# Node 20 runner ships npm ~10. Without this upgrade the publish fails with:
32-
# npm error 404 'mcp-searxng@<version>' is not in this registry
33-
# This exact regression shipped in v1.6.0 — see SEC-015 in TODO-done.md.
30+
# with NO NODE_AUTH_TOKEN) requires npm >= 11.5.1, but Node 20 runner ships
31+
# npm ~10. Node 26 ships with npm 12+, so this pin may be redundant, but
32+
# that's a separate concern — leave it pinned for safety.
3433
#
3534
# It is pinned to an EXACT version (NOT `@latest`), so the "mutable npm
3635
# command" / supply-chain finding that previously prompted its removal does
@@ -76,7 +75,7 @@ jobs:
7675
- name: Setup Node.js
7776
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7877
with:
79-
node-version: '20'
78+
node-version: '26'
8079
registry-url: 'https://registry.npmjs.org/'
8180

8281
- name: Install and verify mcp-publisher

0 commit comments

Comments
 (0)