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