fix(frontend): abort publish.sh when package build fails

This commit is contained in:
Ruben Fiszel
2026-06-11 13:49:32 +00:00
parent 4dbb1e8b71
commit c3aed688e2
+6
View File
@@ -1,2 +1,8 @@
#!/usr/bin/env bash
# Abort if the package build fails — otherwise npm publish ships the stale
# package/ directory left over from the last successful build.
set -euo pipefail
cd "$(dirname "$0")"
npm run package
npm publish