Skip to content

Commit 0634d62

Browse files
Update npm-publish.yml
1 parent 174e0e6 commit 0634d62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/npm-publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
node-version: 12
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm ci
31-
- run: npm publish
31+
- run: npm publish --access public
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3434

@@ -41,7 +41,9 @@ jobs:
4141
with:
4242
node-version: 12
4343
registry-url: https://npm.pkg.github.com/
44+
scope: '@whitecube'
4445
- run: npm ci
46+
- run: echo registry=https://npm.pkg.github.com/whitecube >> .npmrc
4547
- run: npm publish
4648
env:
4749
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)