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:
|
env:
|
||||||
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}}
|
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}}
|
||||||
run: |
|
run: |
|
||||||
|
npm config set registry 'https://wombat-dressing-room.appspot.com/'
|
||||||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
|
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
|
||||||
npm publish
|
npm publish
|
||||||
- name: Publish puppeteer-core
|
- name: Publish puppeteer-core
|
||||||
@ -26,5 +27,6 @@ jobs:
|
|||||||
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER_CORE}}
|
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER_CORE}}
|
||||||
run: |
|
run: |
|
||||||
utils/prepare_puppeteer_core.js
|
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 config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
|
||||||
npm publish
|
npm publish
|
||||||
|
Loading…
Reference in New Issue
Block a user