From 8041b4c0abefa368459c152184c0c251f42d1961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BF=AE=E9=9B=A8?= <47820304+PeterGuy326@users.noreply.github.com> Date: Fri, 20 Nov 2026 12:56:59 +0800 Subject: [PATCH] ci: pin the test job to ubuntu-24.04 so Playwright 1.58 can install --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34e3996..278cab9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,9 @@ permissions: jobs: test: - runs-on: ubuntu-latest + # Pinned: Playwright 1.58.x does not support ubuntu-26.04 images, and + # `ubuntu-latest` now resolves to 26.04, which breaks `playwright install --with-deps`. + runs-on: ubuntu-24.04 timeout-minutes: 20 env: DATABASE_URL: postgresql://doc:doc@127.0.0.1:5432/doc?schema=public