Skip to content

Commit

Permalink
publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Hauke Thorenz committed Jun 13, 2022
1 parent eb2455a commit 096cb9c
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,17 @@ jobs:
- run: npm ci
- run: npm run prepublishOnly

publish-gpr:
publish-npm:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run prepublishOnly
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 096cb9c

Please sign in to comment.