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 2ffabea commit fec21ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ jobs:

- name: Run tests 🧪
run: npm t

- name: Publish to GitHub 🚀
if: startsWith(github.ref, 'refs/tags/')
run: |
npm set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN
npm publish --access public --@moccu:registry=https://npm.pkg.github.com
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit fec21ab

Please sign in to comment.