fix(ci): drop --with-deps from playwright install on self-hosted runner
The VPS runner (peptide-vps) has OS-level Playwright deps pre-installed by root. --with-deps triggers apt-get which requires sudo, blocked by the runner's NoNewPrivileges systemd hardening. Drop the flag; Playwright's binary-only install succeeds as ghrunner with no elevated privileges. SSH-verified: npx playwright install chromium succeeds for ghrunner user; Chromium 149.0.7827.55 downloaded to /home/ghrunner/.cache/ms-playwright. Bump: v1.7.1 → v1.7.2 Agent-Session: smoke-playwright-nodeps-20260617
This commit is contained in:
2
.github/workflows/smoke.yml
vendored
2
.github/workflows/smoke.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: Install Playwright browsers
|
||||
run: npx playwright install chromium --with-deps
|
||||
run: npx playwright install chromium
|
||||
|
||||
- name: Run smoke tests
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user