Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
Tagging package to npmjs as next
  • Loading branch information
alaboso authored Jan 28, 2025
1 parent 6591c5a commit d929973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
git push origin main --tags
echo "Publishing patch release to NPM..."
yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
yarn npm publish --access public
yarn npm publish --access public --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
exit 1
fi
yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
yarn npm publish --access public
yarn npm publish --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

Expand Down

0 comments on commit d929973

Please sign in to comment.