File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff 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 #
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
You can’t perform that action at this time.
0 commit comments