Skip to content

Commit 63738fe

Browse files
committed
fix(ci): use playwright install chromium --only-shell to avoid post-download verification hang on GHA
1 parent 6b15aa9 commit 63738fe

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,11 @@ jobs:
131131
key: ${{ runner.os }}-${{ runner.arch }}-playwright-${{ steps.playwright-version.outputs.version }}-chromium
132132

133133
- name: Install Playwright system dependencies
134-
# sudo required for apt-get; use node directly to avoid bunx PATH issues under sudo
135134
run: sudo node packages/app/node_modules/.bin/playwright install-deps chromium
136135

137136
- name: Install Playwright browsers
138137
if: steps.playwright-cache.outputs.cache-hit != 'true'
139-
# Use node directly — bunx hangs on GHA runners during binary download
140-
run: timeout 180 node packages/app/node_modules/.bin/playwright install chromium
138+
run: node packages/app/node_modules/.bin/playwright install chromium --only-shell
141139

142140
- name: Run app e2e tests
143141
run: bun --cwd packages/app test:e2e:local

0 commit comments

Comments
 (0)