diff --git a/.github/workflows/e2e-staging.yml b/.github/workflows/e2e-staging.yml index edfdff68150..286723e8197 100644 --- a/.github/workflows/e2e-staging.yml +++ b/.github/workflows/e2e-staging.yml @@ -213,6 +213,7 @@ jobs: env: E2E_DEBUG: '1' E2E_STAGING: '1' + E2E_WORKERS: '2' E2E_SDK_SOURCE: ${{ steps.inputs.outputs.sdk-source }} E2E_APP_CLERK_JS_DIR: ${{ runner.temp }} E2E_APP_CLERK_UI_DIR: ${{ runner.temp }} diff --git a/integration/playwright.config.ts b/integration/playwright.config.ts index 007d17768cc..60c8cd937a7 100644 --- a/integration/playwright.config.ts +++ b/integration/playwright.config.ts @@ -14,7 +14,7 @@ export const common: PlaywrightTestConfig = { forbidOnly: !!process.env.CI, retries: process.env.CI ? 5 : 0, maxFailures: process.env.CI ? 5 : undefined, - workers: process.env.CI ? '50%' : '70%', + workers: process.env.E2E_WORKERS || (process.env.CI ? '50%' : '70%'), use: { actionTimeout: 10_000, navigationTimeout: 30_000,