ci: skip bun matrix steps on push runs

This commit is contained in:
Peter Steinberger
2026-02-19 08:57:01 +00:00
parent 745068a597
commit 47bfb765a1

View File

@@ -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