Skip to content

Commit

Permalink
#3 adding access flag for npm publish since the default for scoped pk…
Browse files Browse the repository at this point in the history
…gs is "restricted"
  • Loading branch information
jasonwebb committed Jan 14, 2021
1 parent 7836b84 commit a0e9944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .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 @@ -42,6 +42,6 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit a0e9944

Please sign in to comment.