fix(ci): free stale vite preview port before mock e2e.
CI / test (push) Successful in 4m25s
CI / push-image (push) Successful in 12m27s
CI / deploy-ift (push) Successful in 16s
CI / ci-done (push) Successful in 0s
CI / e2e-ift (push) Successful in 2m46s
CI / deploy-stage (push) Successful in 11m55s
CI / e2e-stage (push) Successful in 4m34s

Act hostexecutor leaves zombie preview (cwd deleted) on :4173 returning 404; Playwright waits for 2xx and times out. Refs EventHub/EventHubFrontAdmin#40

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-17 21:24:41 +03:00
parent 63323c1ca4
commit eb37476bdb
3 changed files with 46 additions and 2 deletions
+4 -1
View File
@@ -67,7 +67,10 @@ jobs:
run: bash scripts/install-playwright-chromium.sh
- name: E2E mock suite
run: npm run test:e2e
run: |
# act hostexecutor: зомби vite preview (cwd deleted) держит порт → HTTP 404 → webServer timeout
bash scripts/free-e2e-port.sh
npm run test:e2e
- name: Upload dist for docker job
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.pipeline == 'full')