Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
toonvandenbos authored Feb 24, 2021
1 parent 174e0e6 commit 0634d62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -41,7 +41,9 @@ jobs:
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@whitecube'
- run: npm ci
- run: echo registry=https://npm.pkg.github.com/whitecube >> .npmrc
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 0634d62

Please sign in to comment.