Skip to content

Commit bab324c

Browse files
committed
fix: use official npm OIDC trusted publishing (no token, no --provenance flag)
1 parent 90584dc commit bab324c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ jobs:
2727
id: version
2828
run: echo "version=$(node -p 'require("./package.json").version')" >> "$GITHUB_OUTPUT"
2929

30-
- name: Publish to npm with provenance
31-
run: npm publish --provenance --access public
32-
env:
33-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
- name: Publish to npm
31+
run: npm publish --access public
3432

3533
- name: Create git tag
3634
run: |

0 commit comments

Comments
 (0)