Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
node-version: 24
package-manager-cache: false
- run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install --with-deps chromium
- run: pnpm test

build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
cache: 'pnpm'
node-version: 24
- run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install --with-deps chromium
- run: pnpm test

check:
Expand Down
4 changes: 1 addition & 3 deletions test/helpers/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ let browser: Browser | undefined

async function getBrowser(): Promise<Browser> {
if (!browser) {
// Use the CI runner's system Chrome instead of Playwright's bundled
// Chromium, so no separate `playwright install` step is needed.
browser = await chromium.launch(process.env.CI ? { channel: 'chrome' } : {})
browser = await chromium.launch()
}
return browser
}
Expand Down
Loading