Skip to content

Commit db405a4

Browse files
committed
ci: use npm trusted publishers (OIDC) instead of NPM_TOKEN
1 parent c02fc81 commit db405a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ jobs:
4242
registry-url: 'https://registry.npmjs.org'
4343

4444
- name: Publish to npm
45-
run: npm publish --provenance
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
run: npm publish --provenance --access public
4846

4947
- name: Create GitHub Release
5048
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)