diff --git a/.github/workflows/release-on-npm.yaml b/.github/workflows/release-on-npm.yaml index 5290cc6b64e..c4f43f67870 100644 --- a/.github/workflows/release-on-npm.yaml +++ b/.github/workflows/release-on-npm.yaml @@ -40,9 +40,12 @@ jobs: git add . git commit -m "Update versions to ${{ env.VERSION }}" - - name: Publish on NPM + - name: Configure NPM authentication + run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" env: - NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}} + + - name: Publish on NPM run: pnpm publish --recursive --access public --no-git-checks - name: Push changes