Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
test:
name: Lint, Build, and Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['20', '24']

steps:
- name: Checkout code
Expand All @@ -24,7 +28,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '20'
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '20'
node-version: '24'
registry-url: 'https://registry.npmjs.org/'

# ──────────────────────────────────────────────────────────────────────
# ⚠️ DO NOT REMOVE / DO NOT "SIMPLIFY" THIS STEP. It is load-bearing.
#
# Tokenless OIDC "trusted publishing" (used below — `npm publish --provenance`
# with NO NODE_AUTH_TOKEN) requires npm >= 11.5.1, but the GitHub-hosted
# Node 20 runner ships npm ~10. Without this upgrade the publish fails with:
# with NO NODE_AUTH_TOKEN) requires npm >= 11.5.1.
# GitHub-hosted runner images may bundle a different npm version. Without this exact pin the publish fails with:
# npm error 404 'mcp-searxng@<version>' is not in this registry
# This exact regression shipped in v1.6.0 — see SEC-015 in TODO-done.md.
#
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '20'
node-version: '24'
registry-url: 'https://registry.npmjs.org/'

- name: Install and verify mcp-publisher
Expand Down