mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 08:55:32 +02:00
chore(ci): adjust Playwright worker configuration for CI environment
This commit is contained in:
parent
581bfc3647
commit
a6292e79ce
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ export default defineConfig({
|
|||
fullyParallel: true,
|
||||
forbidOnly: Boolean(process.env.CI),
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
/* Remove worker limitation in CI for better sharding performance */
|
||||
workers: process.env.CI ? '50%' : undefined,
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
reporter: process.env.CI ? [['github'], ['html']] : 'html',
|
||||
use: {
|
||||
baseURL: 'http://localhost:3000',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue