Skip to content

Commit

Permalink
🩹 publish to npm after push
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Jul 4, 2024
1 parent 72bf3dd commit 231dfb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
npm version $NEW_VERSION -m "CI: update to $NEW_VERSION [ci skip]"
git commit --amend --no-edit --author .
npm publish --access public
npm version $NEW_VERSION --no-commit-hooks
git commit -m "CI: update to $NEW_VERSION [ci skip]" --author .
git push origin
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NEW_VERSION: ${{ env.NEW_VERSION }}

0 comments on commit 231dfb0

Please sign in to comment.