Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/ci-software-factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,21 @@ jobs:
shopt -s dotglob
cp -a .test-web-assets-artifact/. ./
- name: Install Playwright Browsers
# --with-deps also apt-installs the system libraries Playwright needs;
# without it CI fails with "Host system is missing dependencies to run
# browsers".
run: pnpm exec playwright install --with-deps
# `--with-deps` bundles two unrelated operations: fetching the browsers
# from Microsoft's CDN, and apt-installing the system libraries they
# link against. Only the second reaches Ubuntu's mirrors, and that is
# where this step stalls — it has sat here for as long as 170 minutes,
# holding a runner, while the browser download itself has never been
# implicated. Splitting them bounds the half that fails without
# touching the half that works.
#
# A healthy install of both takes about a minute, so five is generous.
# The deps half is still required: without it Playwright reports "Host
# system is missing dependencies to run browsers".
timeout-minutes: 10
run: |
pnpm exec playwright install
timeout 5m pnpm exec playwright install-deps
working-directory: packages/software-factory
- name: Run Node tests
if: ${{ matrix.shard.index == 1 }}
Expand Down