Skip to content

Commit

Permalink
chore: just 1 worker in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Oct 29, 2024
1 parent b523553 commit 789dd5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 789dd5c

Please sign in to comment.