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 12ebcea commit a445c93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .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: write
id-token: write

steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -35,3 +39,4 @@ jobs:
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true

0 comments on commit a445c93

Please sign in to comment.