diff --git a/.github/workflows/node-simple-pnpm.yaml b/.github/workflows/node-simple-pnpm.yaml index d9d3bd0b..70e9bb2a 100644 --- a/.github/workflows/node-simple-pnpm.yaml +++ b/.github/workflows/node-simple-pnpm.yaml @@ -1052,6 +1052,8 @@ jobs: test-results-reports: ${{ inputs.test-results-reports }} - name: Run build (before publish) + if: github.ref_name == 'main' + && steps.check-changes.outputs.has-changes == '0' uses: milaboratory/github-ci/blocks/monorepo/build-and-test-pnpm@v4-beta env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}