Skip to content

Commit

Permalink
chore: enable npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jun 25, 2023
1 parent fb11903 commit d48208a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -32,6 +36,6 @@ jobs:
run: pnpm i

- name: Publish to NPM
run: pnpm -r publish --access public --no-git-checks
run: pnpm -r publish --provenance --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit d48208a

Please sign in to comment.