Skip to content

Commit

Permalink
chore(ci): Use $NPM_TAG env var
Browse files Browse the repository at this point in the history
 - Closes #9269
  • Loading branch information
kdy1 committed Jul 17, 2024
1 parent 9c17663 commit 1c652f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ jobs:
npm config set provenance true
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
echo "npmAlwaysAuth:true\n npmAuthToken: '$NPM_TOKEN'\n" >> ~/.yarnrc
(cd packages/core && yarn workspaces foreach -Rt npm publish --tolerate-republish)
(cd packages/core && yarn workspaces foreach -Rt npm publish --tolerate-republish --tag $NPM_TAG)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 1c652f9

Please sign in to comment.