Skip to content

Commit 027e686

Browse files
committed
ci: migrate from NPM_TOKEN to OIDC Trusted Publishing
1 parent ba06137 commit 027e686

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/publish-node.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Publish (Node.js)
22

33
on:
44
workflow_call:
5-
secrets:
6-
NPM_TOKEN:
7-
required: true
85

96
permissions:
107
contents: write
@@ -27,8 +24,6 @@ jobs:
2724
- run: pnpm run build
2825
- run: pnpm test
2926
- run: pnpm publish --no-git-checks --access public
30-
env:
31-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3227

3328
- name: Create GitHub Release
3429
run: gh release view "$GITHUB_REF_NAME" || gh release create "$GITHUB_REF_NAME" --generate-notes

0 commit comments

Comments
 (0)