Skip to content

Commit

Permalink
perf: add npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Val-istar-Guo committed Nov 9, 2023
1 parent 48916c9 commit a7d0635
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
- master
- main
name: Release
permissions:
id-token: write
jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -23,7 +25,7 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- run: corepack pnpm i
if: ${{ steps.release.outputs.release_created }}
- run: corepack pnpm publish
- run: corepack pnpm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit a7d0635

Please sign in to comment.