diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index e10801a64..1b169de6d 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -19,6 +19,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + registry-url: 'https://registry.npmjs.org' - name: Use cached node_modules id: cache @@ -54,4 +55,4 @@ jobs: run: npm publish --tag insiders env: CI: true - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e709eb19b..9264558c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + registry-url: 'https://registry.npmjs.org' - name: Use cached node_modules id: cache @@ -47,4 +48,4 @@ jobs: run: npm publish env: CI: true - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}