Commit 56c614a
committed
fix(ci): add WASM asset verification before CLI build in SEA workflow
The SEA build was failing because CLI build requires Yoga Layout WASM,
but the workflow wasn't verifying WASM assets were actually restored
from cache before attempting CLI build.
Issue:
- WASM caches restore successfully (actions/cache/restore)
- Verification steps report "valid=true"
- But actual files might not be present due to cache corruption/issues
- CLI build fails: "ENOENT: no such file or directory, open yoga.wasm"
Fix:
- Add pre-flight check before CLI build step
- Verify yoga.wasm exists before proceeding
- Fail fast with clear error if WASM assets missing
- Directs user to run build-wasm.yml to prime cache
This provides better diagnostics and prevents wasted build time.1 parent 89353f8 commit 56c614a
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
371 | 393 | | |
372 | 394 | | |
373 | 395 | | |
| |||
0 commit comments