Skip to content

Commit

Permalink
explicit access public
Browse files Browse the repository at this point in the history
it seems npm can't read it's own package.json file
  • Loading branch information
odahcam authored May 14, 2020
1 parent 32cf13e commit 597c771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/

- run: npm publish ./pack-artifact/package.tgz
- run: npm publish ./pack-artifact/package.tgz --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand Down Expand Up @@ -104,6 +104,6 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/

- run: npm publish ./package/
- run: npm publish ./package/ --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 597c771

Please sign in to comment.