aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.mjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.mjs b/build.mjs
index b59ebef..e579786 100755
--- a/build.mjs
+++ b/build.mjs
@@ -118,4 +118,7 @@ await Promise.all([
]).catch(err => {
console.error("Build failed");
console.error(err.message);
+ // make ci fail
+ if (!watch)
+ process.exitCode = 1;
});