perf: balance remaining Builder E2E shard work

This commit is contained in:
Oleg Isonen committed 2026-11-16 19:58:47 +00:00
1 parent 6820a7e71c
commit 35b41df660
7 files changed
+22 -6

No files matched your search

+13 -1
View File
@@ -22,7 +22,19 @@ runs:
- uses: ./.github/actions/ci-setup
with:
run-scripts: "true"
install-dependencies: "false"
- name: Install dependencies and pull E2E images
shell: bash
run: |
timeout --kill-after=10s "${E2E_DOCKER_PULL_TIMEOUT_SECONDS:-300}s" \
bash apps/builder/backend/run.sh snapshot pull --policy missing db postgrest &
image_pull=$!
trap 'kill "$image_pull" 2>/dev/null || true' EXIT
pnpm install --frozen-lockfile
wait "$image_pull"
trap - EXIT
- name: Cache Playwright Chromium
uses: actions/cache@v5
+4
View File
@@ -4,6 +4,9 @@ description: |
Sets up the CI environment for the project.
inputs:
install-dependencies:
description: Install workspace dependencies after setting up the tools and cache.
default: "true"
run-scripts:
description: Run dependency lifecycle scripts during installation.
default: "false"
@@ -23,4 +26,5 @@ runs:
install_args+=(--ignore-scripts)
fi
pnpm install "${install_args[@]}"
if: inputs.install-dependencies == 'true'
shell: bash