E2E installs its browsers into node_modules

The lockfile pins Playwright 1.58.2; the runner image carries 1.58.0's
chromium in /opt/playwright, read-only to the job, so installing the pinned
build failed with EACCES there. PLAYWRIGHT_BROWSERS_PATH=0 puts it in
node_modules, which the job owns, on any runner.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
2026-09-23 06:17:18 -07:00
co-authored by Claude Opus 5.5
parent 731898397c
commit 476105fb46
+4
View File
@@ -25,6 +25,10 @@ concurrency:
env:
NODE_VERSION: '20'
# Browsers go into node_modules, which the job owns. The runner image's
# /opt/playwright holds its own Playwright's build and is read-only to the job,
# so a lockfile pinning another release would fail writing there.
PLAYWRIGHT_BROWSERS_PATH: '0'
jobs:
# ── Health & RPC Tests (always run) ──────────────────────────────