Skip to content

Commit 038afad

Browse files
revert to token based publishing
1 parent 18dea95 commit 038afad

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Publish Package to npmjs
1+
name: Publish MCP to npmjs
22
on:
33
release:
44
types: [published]
5+
56
jobs:
67
build:
78
runs-on: ubuntu-latest
89
permissions:
910
contents: read
10-
id-token: write
1111
steps:
1212
- uses: actions/checkout@v5
1313

@@ -21,12 +21,12 @@ jobs:
2121
run: npm ci
2222

2323
- name: Sync version with release tag
24-
# Updates package.json to the release tag version (e.g., v1.2.3)
2524
run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
2625

2726
- name: Build package
2827
run: npm run build
2928

3029
- name: Publish to npmjs
31-
# No NODE_AUTH_TOKEN needed; setup-node handles OIDC auth
32-
run: npm publish --access public
30+
run: npm publish --access public
31+
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)