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
12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
registry-url: https://registry.npmjs.org
package-manager-cache: false

# Trusted publishing (OIDC) requires npm >= 11.5.1; Node 22 bundles npm 10.x.
- run: npm install -g npm@latest

- run: npm ci
- run: npm run lint
Expand Down Expand Up @@ -49,10 +52,9 @@ jobs:
exit 1
fi

- name: Publish to npm with provenance
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Auth via npm trusted publishing (OIDC); provenance is generated automatically.
- name: Publish to npm
run: npm publish

- name: Create GitHub Release with MCPB asset
uses: softprops/action-gh-release@v3
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
"url": "https://github.com/joinmassive/mcp-server/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
"access": "public"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
Expand Down