Skip to content

Commit

Permalink
Update yarn publish command with --provenance flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ImBIOS committed Dec 14, 2023
1 parent 8c5ccf6 commit ee00586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
VERSION=$(node -p "require('./package.json').version")-canary.$(date +%s)
yarn version --new-version $VERSION --no-git-tag-version
yarn publish --tag canary
yarn publish --tag canary --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
git push origin $VERSION
yarn version --new-version $VERSION
yarn publish --tag latest
yarn publish --tag latest --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create GitHub Release
Expand Down

0 comments on commit ee00586

Please sign in to comment.