chore: add test runner to pre-commit hook with failure-only output
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m58s

This commit is contained in:
2026-05-31 01:42:34 +02:00
parent 6793461a9f
commit 2432f807be
8 changed files with 53 additions and 16 deletions
+7
View File
@@ -13,6 +13,13 @@ if [ -n "$STAGED_FILES" ]; then
fi
fi
# Run tests — only failing tests are printed to keep output focused
echo "🧪 Running tests..."
bash .husky/scripts/run-tests.sh
if [ $? -ne 0 ]; then
exit 1
fi
# Generate project structure
echo "🗺️ Updating project structure..."
node .husky/scripts/generate-project-tree.js