diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d160c65284f3..9215c799c691 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -32,6 +32,7 @@ jobs: with: node-version: 18 cache: yarn + registry-url: "https://registry.npmjs.org" - name: Install if: steps.release.outputs.release_created @@ -60,6 +61,6 @@ jobs: - name: Publish if: steps.release.outputs.release_created - run: npm publish --access public + run: npm publish env: - NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}