diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 4cdf9ef..d007a62 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -36,7 +36,9 @@ jobs: commit: Release to npm env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish if: steps.changesets.outputs.hasChangesets == 'false' - run: "pnpm publish:ci" \ No newline at end of file + run: "pnpm publish:ci" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file