Skip to content

CI: pin to Ubuntu 24.04 so Playwright can install Chromium - #51

Merged
Elizabeth1979 merged 1 commit into
Elizabeth1979:mainfrom
elizabeth-patrick:ci/pin-ubuntu-24-04
Nov 15, 2026
Merged

Elizabeth1979 merged 1 commit into
Elizabeth1979:mainfrom
elizabeth-patrick:ci/pin-ubuntu-24-04

Conversation

@elizabeth-patrick

Copy link
Copy Markdown
Contributor

What broke

Every CI run now fails within seconds, before any test runs:

Run npx playwright install --with-deps chromium
Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64

ubuntu-latest moved to Ubuntu 26.04 after the last green run on main (2026-10-17). The installed Playwright cannot install its browser there. This blocks every PR and would also block publish.yml, whose publish job runs the full suite before it publishes.

Fix

Pin the two jobs that install Chromium to ubuntu-24.04:

  • ci.yml → test
  • publish.yml → publish

Each has a comment saying why, and to return to ubuntu-latest once Playwright is upgraded to a version that supports 26.04. Nothing else changes.

Why not upgrade Playwright instead

That is the durable fix, but it is a larger change that needs its own test run against the scan pipeline. Pinning gets CI green now, and it is two lines to undo.

Testing

This PR's own CI run is the test: it should go green on Node 20, 22 and 24.

🤖 Generated with Claude Code

ubuntu-latest moved to 26.04, where this Playwright fails with
"does not support chromium on ubuntu26.04-x64" before any test runs.
Pin the two jobs that install Chromium; unpin with the Playwright upgrade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Elizabeth1979
Elizabeth1979 merged commit a248ad1 into Elizabeth1979:main Nov 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants