diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28dfca8a40..b14e2d439a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,7 +176,7 @@ jobs: checks: needs: [docs-scope, changed-scope, check] - if: needs.docs-scope.outputs.docs_only != 'true' && (github.event_name == 'push' || needs.changed-scope.outputs.run_node == 'true') && (github.event_name != 'push' || matrix.runtime != 'bun') + if: needs.docs-scope.outputs.docs_only != 'true' && (github.event_name == 'push' || needs.changed-scope.outputs.run_node == 'true') runs-on: blacksmith-4vcpu-ubuntu-2404 strategy: fail-fast: false @@ -199,6 +199,7 @@ jobs: - name: Setup Node environment uses: ./.github/actions/setup-node-env + if: matrix.runtime != 'bun' || github.event_name != 'push' with: install-bun: "${{ matrix.runtime == 'bun' }}" @@ -215,6 +216,7 @@ jobs: echo "OPENCLAW_TEST_MAX_OLD_SPACE_SIZE_MB=6144" >> "$GITHUB_ENV" - name: Run ${{ matrix.task }} (${{ matrix.runtime }}) + if: matrix.runtime != 'bun' || github.event_name != 'push' run: ${{ matrix.command }} - name: Summarize slowest tests