diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index b25cca7fe..745aad281 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -76,11 +76,13 @@ jobs: env: CI: true + + - name: Setup npmrc + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc + - name: Publish to npm shell: bash run: pnpm publish --access=public --tag=ci-test --no-git-checks - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Commit Version Changes run: |