Skip to content

Commit

Permalink
Update publishing to npm because of scope issues
Browse files Browse the repository at this point in the history
  • Loading branch information
robere2 committed Mar 10, 2022
1 parent ca8aae2 commit a959082
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,19 @@ jobs:
with:
node-version: 16
- run: npm ci
- run: npm build
- run: npm run build
- run: npm test

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

0 comments on commit a959082

Please sign in to comment.