Skip to content

Commit

Permalink
Update NPM_TOKEN secret
Browse files Browse the repository at this point in the history
  • Loading branch information
tng10 authored Apr 3, 2021
1 parent afe0a24 commit c4594e0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm test
- run: npm ci --ignore-scripts
- run: npm test --ignore-scripts

publish-npm:
needs: build
Expand All @@ -27,10 +27,10 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
- run: npm ci --ignore-scripts
- run: npm publish --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
Expand All @@ -41,7 +41,7 @@ jobs:
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
- run: npm ci --ignore-scripts
- run: npm publish --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit c4594e0

Please sign in to comment.