From 68a09aaf22ac2a2ebaa30d3cc095cea3bd16c70f Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 11 Nov 2026 07:55:16 -0800 Subject: [PATCH] fix(ci): invoke installed Playwright without root pnpm --- .github/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bff3558b82c..a90b644d17f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -933,11 +933,11 @@ jobs: exit 0 fi echo 'Installing WebKit dependencies through the primary route.' - if ! sudo env "PATH=$PATH" timeout --kill-after=10s 240 pnpm exec playwright-core install-deps webkit; then + if ! sudo env "PATH=$PATH" timeout --kill-after=10s 240 ./node_modules/.bin/playwright-core install-deps webkit; then echo 'Dependency installation did not complete; retrying with the Ubuntu mirror fallback.' bash .github/scripts/use-ubuntu-apt-mirror.sh bash .github/scripts/recover-ubuntu-dpkg.sh || true - sudo env "PATH=$PATH" timeout --kill-after=10s 360 pnpm exec playwright-core install-deps webkit + sudo env "PATH=$PATH" timeout --kill-after=10s 360 ./node_modules/.bin/playwright-core install-deps webkit fi timeout --kill-after=10s 180 pnpm exec playwright-core install webkit