Skip to content

Commit

Permalink
Publish to github-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jjxxs authored and Joscha Behrmann committed Sep 17, 2023
1 parent be7963b commit d74cbd1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
with:
node-version: '18.15.0'
registry-url: 'https://registry.npmjs.org'

# Publish to npm
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

# Publish to GitHub Packages
- run: npm publish --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit d74cbd1

Please sign in to comment.