Skip to content

Commit 9bef93a

Browse files
committed
Update npm publish command to include --access public flag
1 parent 0cce75c commit 9bef93a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
name: dist
7171
path: dist
72-
- run: npm publish
72+
- run: npm publish --provenance --access public
7373
env:
7474
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
7575

@@ -94,6 +94,6 @@ jobs:
9494
with:
9595
name: dist
9696
path: dist
97-
- run: npm publish --provenance
97+
- run: npm publish --provenance --access public
9898
env:
9999
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)