Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Schascha committed Jul 8, 2024
1 parent fec21ab commit ee153f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
- name: Run tests 🧪
run: npm t

- name: Publish 🚀
if: startsWith(github.ref, 'refs/tags/')
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

- name: Publish to GitHub 🚀
if: startsWith(github.ref, 'refs/tags/')
run: |
Expand Down

0 comments on commit ee153f7

Please sign in to comment.