Commit 8b88874
committed
fix: install-and-build exits with correct code on build failure
Previously, the build step used 'yarn build:try' which is defined as
'run build || true'. This always exits with code 0, masking any TypeScript
compilation errors during CI or local builds.
Switch to 'yarn build' so that failures propagate correctly through
concurrently's result promise, are caught by the try/catch, and cause
the script to exit with code 1.1 parent bcff27a commit 8b88874
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments