From 789dd5c34abef41d7965f9e713a81e2d4f0c1a5f Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Tue, 29 Oct 2024 15:44:47 +0000 Subject: [PATCH] chore: just 1 worker in ci --- packages/snap/package.json | 2 +- packages/snap/playwright.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/snap/package.json b/packages/snap/package.json index 41fb2da..956c78c 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -50,7 +50,7 @@ "test": "wireit", "build": "wireit", "serve": "wireit", - "watch": "pnpm run serve & pnpx onchange -i -k 'src/**/*.{ts,tsx}' 'test/**/*.{ts,tsx}' -- pnpm run test -- --headed" + "watch": "pnpm run serve & onchange -i -k 'src/**/*.{ts,tsx}' 'test/**/*.{ts,tsx}' -- pnpm run test -- --headed -j 1" }, "wireit": { "build": { diff --git a/packages/snap/playwright.config.js b/packages/snap/playwright.config.js index fa46254..26813b9 100644 --- a/packages/snap/playwright.config.js +++ b/packages/snap/playwright.config.js @@ -6,7 +6,7 @@ export default defineConfig({ timeout: process.env.CI ? 60 * 1000 : 30 * 1000, forbidOnly: Boolean(process.env.CI), retries: process.env.CI ? 2 : undefined, - // workers: process.env.CI ? 1 : undefined, + workers: process.env.CI ? 1 : undefined, maxFailures: process.env.CI ? 0 : 1, reporter: process.env.CI ? [['html'], ['list']] : 'list', use: {