Skip to content

Commit

Permalink
Add --access public to npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherex committed Jul 17, 2020
1 parent ef51604 commit dacd614
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 @@ -30,7 +30,7 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

Expand All @@ -45,6 +45,6 @@ jobs:
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm run build
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit dacd614

Please sign in to comment.