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:
Pierre Ossman 2020-07-07 12:49:50 +02:00
parent e17de291b9
commit 2654bcd354
1 changed files with 3 additions and 0 deletions

View File

@ -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: