diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 9c68bb7..2a310be 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -21,7 +21,7 @@ jobs: cache: 'npm' - run: npm ci if: ${{ steps.release.outputs.release_created }} + - run: npm config set //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} + if: ${{ steps.release.outputs.release_created }} - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} if: ${{ steps.release.outputs.release_created }}