mirror of
https://github.com/merkletreejs/merkletreejs.git
synced 2026-01-10 05:27:53 -05:00
gh-actions npm provenance
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -56,9 +56,9 @@ jobs:
|
||||
run: |
|
||||
if [[ "${{ github.event.inputs.dry_run }}" == "true" ]]; then
|
||||
echo "DRY RUN: Would publish to npm"
|
||||
npm publish --dry-run
|
||||
npm publish --provenance --publish-branch=master --access=public --dry-run
|
||||
else
|
||||
npm publish
|
||||
npm publish --provenance --publish-branch=master --access=public
|
||||
fi
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user