feat: SDLC database separation for CI/testing #35
@@ -11,9 +11,9 @@ export default defineConfig({
|
||||
// Fail the build on CI if you accidentally left test.only in the source code.
|
||||
forbidOnly: !!process.env.CI,
|
||||
// Retry on CI only.
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
// Always run with 1 worker to avoid database conflicts
|
||||
workers: 1,
|
||||
retries: process.env.CI ? 1 : 0,
|
||||
// Use 2 workers in CI for parallel project execution; 1 locally
|
||||
workers: process.env.CI ? 2 : 1,
|
||||
// Reporter to use
|
||||
reporter: 'html',
|
||||
// Global setup and teardown
|
||||
|
||||
Reference in New Issue
Block a user