diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 329d9ce4..b72d098c 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 39854cbc..8c546073 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 9d66d1e3..ec1127b8 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 dfb7f5ea..17f6cfe8 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: