Skip to content

Commit

Permalink
fix: move CI npm config out of .npmrc (#6901)
Browse files Browse the repository at this point in the history
This avoids issues with local `npm commands` trying to use the Wombat registry.
  • Loading branch information
mathiasbynens committed Feb 17, 2021
1 parent ff26c62 commit f7de60b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish-on-tag.yml
Expand Up @@ -19,12 +19,14 @@ 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
env:
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
1 change: 0 additions & 1 deletion .npmrc
@@ -1,2 +1 @@
registry=https://wombat-dressing-room.appspot.com/
access=public

0 comments on commit f7de60b

Please sign in to comment.