Skip to content

Commit 597c771

Browse files
authored
explicit access public
it seems npm can't read it's own package.json file
1 parent 32cf13e commit 597c771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
node-version: 12
6868
registry-url: https://registry.npmjs.org/
6969

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

@@ -104,6 +104,6 @@ jobs:
104104
node-version: 12
105105
registry-url: https://npm.pkg.github.com/
106106

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

0 commit comments

Comments
 (0)