Skip to content

Commit c42a8d6

Browse files
committed
Tweak: (zenflux-cli) - Add CI flags to @z-flux:react:test:ci script
Updated the `@z-flux:react:test:ci` script to include `--ci` and `--bail` flags for better CI performance and immediate failure on test error. This ensures faster feedback and halts further tests if a failure occurs.
1 parent 3a86972 commit c42a8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@z-flux:react:dev": "@z-cli @watch --workspace react-* --dev",
3232
"@z-flux:react-reconciler-dev": "@z-cli @watch --workspace react-reconciler --dev",
3333
"@z-flux:react:eslint:ci": "time ( bunx --bun eslint packages-react --cache --cache-strategy content )",
34-
"@z-flux:react:build:ci": "time ( @z-cli @build --workspace \"react-*\" --haltOnDiagnosticError )",
35-
"@z-flux:react:test:ci": "time ( @z-jest --selectedProjects react-test-renderer,react-cache,react-scheduler,internal-test-utils,react-reconciler )"
34+
"@z-flux:react:test:ci": "time ( @z-jest --ci --bail --selectedProjects react-test-renderer,react-cache,react-scheduler,internal-test-utils,react-reconciler )",
35+
"@z-flux:react:build:ci": "time ( @z-cli @build --workspace \"react-*\" --haltOnDiagnosticError )"
3636
},
3737
"packageManager": "[email protected]"
3838
}

0 commit comments

Comments
 (0)