Skip to content

Commit 71d65ab

Browse files
committed
feat(ci): test and publish on Node 24 LTS
Coverage: 94.75% (was 94.75%)
1 parent 1046b78 commit 71d65ab

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
test:
1717
name: Lint, Build, and Test
1818
runs-on: ubuntu-latest
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
node-version: ['20', '24']
1923

2024
steps:
2125
- name: Checkout code
@@ -24,7 +28,7 @@ jobs:
2428
- name: Setup Node.js
2529
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2630
with:
27-
node-version: '20'
31+
node-version: ${{ matrix.node-version }}
2832
cache: 'npm'
2933

3034
- name: Install dependencies

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2222
with:
23-
node-version: '20'
23+
node-version: '24'
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:
30+
# with NO NODE_AUTH_TOKEN) requires npm >= 11.5.1.
31+
# GitHub-hosted runner images may bundle a different npm version. Without this exact pin the publish fails with:
3232
# npm error 404 'mcp-searxng@<version>' is not in this registry
3333
# This exact regression shipped in v1.6.0 — see SEC-015 in TODO-done.md.
3434
#
@@ -82,7 +82,7 @@ jobs:
8282
- name: Setup Node.js
8383
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
8484
with:
85-
node-version: '20'
85+
node-version: '24'
8686
registry-url: 'https://registry.npmjs.org/'
8787

8888
- name: Install and verify mcp-publisher

0 commit comments

Comments
 (0)