mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: move CI npm config out of .npmrc (#6901)
This avoids issues with local `npm commands` trying to use the Wombat registry.
This commit is contained in:
parent
ff26c62647
commit
f7de60be22
2
.github/workflows/publish-on-tag.yml
vendored
2
.github/workflows/publish-on-tag.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
||||
env:
|
||||
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}}
|
||||
run: |
|
||||
npm config set registry 'https://wombat-dressing-room.appspot.com/'
|
||||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
|
||||
npm publish
|
||||
- name: Publish puppeteer-core
|
||||
@ -26,5 +27,6 @@ jobs:
|
||||
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER_CORE}}
|
||||
run: |
|
||||
utils/prepare_puppeteer_core.js
|
||||
npm config set registry 'https://wombat-dressing-room.appspot.com/'
|
||||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
|
||||
npm publish
|
||||
|
Loading…
Reference in New Issue
Block a user