Skip to content

Commit 9c70236

Browse files
committed
build(ci): add --access-public flag to npm publish
1 parent f4bfae8 commit 9c70236

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
node-version: 12
3030
registry-url: 'https://registry.npmjs.org/'
3131
- run: npm ci
32-
- run: npm publish
32+
- run: npm publish --access public
3333
env:
3434
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3535

@@ -47,6 +47,6 @@ jobs:
4747
node-version: 12
4848
registry-url: $registry-url(npm)
4949
- run: npm ci
50-
- run: npm publish
50+
- run: npm publish --access public
5151
env:
5252
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)