We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18dea95 commit 038afadCopy full SHA for 038afad
1 file changed
.github/workflows/release.yml
@@ -1,13 +1,13 @@
1
-name: Publish Package to npmjs
+name: Publish MCP to npmjs
2
on:
3
release:
4
types: [published]
5
+
6
jobs:
7
build:
8
runs-on: ubuntu-latest
9
permissions:
10
contents: read
- id-token: write
11
steps:
12
- uses: actions/checkout@v5
13
@@ -21,12 +21,12 @@ jobs:
21
run: npm ci
22
23
- name: Sync version with release tag
24
- # Updates package.json to the release tag version (e.g., v1.2.3)
25
run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
26
27
- name: Build package
28
run: npm run build
29
30
- name: Publish to npmjs
31
- # No NODE_AUTH_TOKEN needed; setup-node handles OIDC auth
32
- run: npm publish --access public
+ run: npm publish --access public
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments