Skip to content

Commit

Permalink
Merge pull request #24 from rstudio/publish-18-only
Browse files Browse the repository at this point in the history
Only publish from the 18.x matrix entry
  • Loading branch information
meatballhat authored Feb 8, 2023
2 parents d5c92c8 + 6026565 commit 0724ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
NPM_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- run: npm info
- if: startsWith(github.ref, 'refs/tags')
- if: matrix.node == '18.x' && startsWith(github.ref, 'refs/tags')
run: npm publish
- if: startsWith(github.ref, 'refs/heads')
run: npm publish --dry-run

0 comments on commit 0724ec2

Please sign in to comment.