Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,33 @@ jobs:
- run: pnpm test
test-e2e:
runs-on: ubuntu-latest
# Use the official Playwright image, which ships Chromium, Firefox, WebKit and
# every system dependency they need. That removes the
# `playwright install --with-deps` step, which has been hanging until
# GitHub's 6-hour job limit on every run since 2026-08-24.
#
# Keep the tag in sync with the `@playwright/test` version in
# packages/openapi-fetch (currently 1.59.1).
container:
image: mcr.microsoft.com/playwright:v1.59.1-noble
# recommended by Playwright when running Chromium in a container
options: --ipc=host
# fail fast instead of occupying a runner for 6 hours if anything hangs
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: latest
node-version: 22
- uses: pnpm/action-setup@v5
with:
run_install: true
- run: pnpm exec playwright install --with-deps
- run: pnpm run test-e2e
env:
# Firefox refuses to start as root unless $HOME is owned by root, and
# GitHub sets HOME=/github/home, which is owned by pwuser. Chromium and
# WebKit start fine, so without this only the firefox project fails.
HOME: /root
test-macos:
runs-on: macos-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"globalPassThroughEnv": ["PLAYWRIGHT_BROWSERS_PATH"],
"tasks": {
"build": {
"dependsOn": ["^build"]
Expand Down
Loading