Skip to content

Commit

Permalink
ci: publish with provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
JianJroh committed May 30, 2023
1 parent 8fdc909 commit 2223ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
npm-publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
Expand All @@ -36,4 +35,5 @@ jobs:
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN }}
run: pnpm publish --access public --no-git-checks
NPM_CONFIG_PROVENANCE: true
run: pnpm publish --access public --no-git-checks

0 comments on commit 2223ae3

Please sign in to comment.