Skip to content

Commit

Permalink
ci(npm): publish twice for provenance?
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlang committed Jun 30, 2024
1 parent 96d4b14 commit b20023c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
git commit --no-verify -m "Bump version to $VERSION"
git push origin $BRANCH_NAME
- run: pnpm publish --provenance --access public
- name: Publish to NPM withouth provenance
run: pnpm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

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

0 comments on commit b20023c

Please sign in to comment.