From a6292e79ce31247991f822643f1169bd282bc61a Mon Sep 17 00:00:00 2001 From: taroj1205 Date: Sun, 22 Jun 2025 18:16:37 +1200 Subject: [PATCH] chore(ci): adjust Playwright worker configuration for CI environment --- playwright.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index f30606c..5eaf269 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -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',