From c6ef466c572ec476025d8ecaf31fc55d5fdcd9f4 Mon Sep 17 00:00:00 2001 From: Elizabeth Patrick Date: Sun, 15 Nov 2026 16:28:56 +0200 Subject: [PATCH] Pin CI to Ubuntu 24.04 so Playwright can install Chromium 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 --- .github/workflows/ci.yml | 5 ++++- .github/workflows/publish.yml | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed4db26..f5a67c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,10 @@ on: jobs: test: - runs-on: ubuntu-latest + # Pinned: ubuntu-latest moved to 26.04, where this Playwright cannot + # install Chromium ("does not support chromium on ubuntu26.04-x64"). + # Back to ubuntu-latest once Playwright is upgraded to a version that does. + runs-on: ubuntu-24.04 strategy: matrix: node-version: [20, 22, 24] diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9238d37..63919e3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -63,7 +63,9 @@ jobs: publish: needs: check if: needs.check.outputs.publish == 'true' - runs-on: ubuntu-latest + # Pinned for the same reason as ci.yml: Playwright cannot install + # Chromium on ubuntu-latest (26.04). Unpin with the Playwright upgrade. + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4