Explicitly set NPM registry URL
Otherwise the action doesn't configure npm properly to authenticate and our publish actions will fail with 404 errors.
This commit is contained in:
parent
e17de291b9
commit
2654bcd354
|
@ -10,6 +10,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
# Needs to be explicitly specified for auth to work
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm publish --access public
|
- run: npm publish --access public
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue