ci: reuse host-playwright browser cache instead of re-downloading chromium
Gitea Actions Runner Test / test-job (push) Successful in 1s
CI / check (push) Successful in 4m22s
CI / preflight (push) Skipped
CI / deploy (push) Successful in 1m50s

Point PLAYWRIGHT_BROWSERS_PATH at the persistent /opt/ms-playwright dir on
the host runner so 'playwright install chromium' is an instant no-op after
the first run (was ~100s CDN download per job).
This commit is contained in:
openhands committed 2026-09-22 21:10:15 +02:00
1 parent b2777634f7
commit 292268f418
1 file changed
+6
+6
View File
@@ -8,6 +8,12 @@ on:
branches: [main, master]
workflow_dispatch:
# Reuse the Playwright browsers that ship with the host runner (snapped to
# the root HOME cache instead of a fresh per-job HOME) so `playwright install`
# is a near-instant no-op instead of a ~100s CDN download on every run.
env:
PLAYWRIGHT_BROWSERS_PATH: /opt/ms-playwright
jobs:
# ─────────────────────────────────────────────
# Lint, typecheck & unit tests