Commit 1e5125a
committed
ci: implement Promise.all semantics for parallel typecheck and web build with fail-fast behavior
Replace shell-based parallel execution with bun runtime Promise.all implementation:
- Use child_process.spawn wrapped in Promises for better error handling
- Implement fail-fast behavior where any command failure immediately exits
- Maintain parallel execution of typecheck and web build commands
- Add clear success/failure messaging with emoji indicators
- Leverage bun's JavaScript runtime for more robust process orchestration
This improves CI reliability by ensuring proper error propagation and
cleaner failure modes compared to the previous shell-based approach.
Codebuff1 parent a34bfdc commit 1e5125a
1 file changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
| |||
0 commit comments