From f7de60be22d9bc6433ada7bfefeaa7f6f6f62047 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Wed, 17 Feb 2021 18:52:22 +0100 Subject: [PATCH] fix: move CI npm config out of .npmrc (#6901) This avoids issues with local `npm commands` trying to use the Wombat registry. --- .github/workflows/publish-on-tag.yml | 2 ++ .npmrc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index dc2140ab2aff4..b9d4c12157710 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -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 diff --git a/.npmrc b/.npmrc index f4335b67c183f..94a06c2180166 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ -registry=https://wombat-dressing-room.appspot.com/ access=public