From d014b2dda88c4e2a439384bd503edf1c74681d4c Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Wed, 28 Oct 2026 18:04:39 +0100 Subject: [PATCH] ci: run the workflows on Ubuntu runners The macOS runners queued for hours behind other runs, and GitHub cancelled a code-quality job that never started. Ubuntu runners have more capacity. Playwright installs the system libraries of Chromium with --with-deps on Ubuntu. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GW27xi1rHPvuZNXwCqzHFN --- .github/workflows/build.yml | 4 ++-- .github/workflows/code-quality.yml | 10 +++++----- .github/workflows/publish.yml | 8 ++++---- .github/workflows/tests.yml | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 329d9ce44..b72d098c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: pkg_build: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 @@ -36,7 +36,7 @@ jobs: run: npm run build docs_build: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 39854cbc9..8c546073f 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -8,7 +8,7 @@ on: jobs: oxlint: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 @@ -34,7 +34,7 @@ jobs: run: npm run lint:static typescript: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 @@ -60,7 +60,7 @@ jobs: run: npm run lint:types prettier: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 @@ -87,7 +87,7 @@ jobs: phpcs: name: phpcs - runs-on: macos-latest + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -120,7 +120,7 @@ jobs: phpstan: name: phpstan - runs-on: macos-latest + runs-on: ubuntu-latest strategy: fail-fast: false matrix: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9d66d1e3c..ec1127b8d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,7 @@ permissions: jobs: test: name: Test - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 @@ -57,10 +57,10 @@ jobs: - run: npm run build # The component specs run in a real Chromium through Vitest browser mode, - # so the runner needs the browser binary. No `--with-deps`: that installs - # system packages through apt and is Ubuntu-only. + # so the runner needs the browser binary and, on Ubuntu, the system + # libraries it links against: `--with-deps` installs them through apt. - name: Install Playwright Chromium - run: npx playwright install chromium + run: npx playwright install --with-deps chromium - name: Test run: npm run test -- -- --coverage.enabled diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dfb7f5ea2..17f6cfe89 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: jobs: unit_node: - runs-on: macos-latest + runs-on: ubuntu-latest env: NODE_VERSION: 24 steps: @@ -33,10 +33,10 @@ jobs: - name: Install modules run: npm install --no-audit --no-fund # The component specs run in a real Chromium through Vitest browser mode, - # so the runner needs the browser binary. No `--with-deps`: that installs - # system packages through apt and is Ubuntu-only. + # so the runner needs the browser binary and, on Ubuntu, the system + # libraries it links against: `--with-deps` installs them through apt. - name: Install Playwright Chromium - run: npx playwright install chromium + run: npx playwright install --with-deps chromium - name: Run tests run: npm run test -- -- --coverage.enabled - name: Upload coverage to Codecov @@ -50,7 +50,7 @@ jobs: verbose: true unit_eslint_plugin: - runs-on: macos-latest + runs-on: ubuntu-latest env: NODE_VERSION: 24 steps: