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