Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

chore: add lint and build task for local pre-push

towfiqif92a9c5fdbd7
diff --git a/.githooks/pre-push b/.githooks/pre-push
index 4960dd7..5ce797e 100644
--- a/.githooks/pre-push
+++ b/.githooks/pre-push
@@ -18,7 +18,15 @@ if [ "$run_tests" -eq 0 ]; then
exit 0
fi
-echo "[pre-push] Pushing to main. Running backend test suite..."
+echo "[pre-push] Pushing to main. Running backend lint, test, and build..."
+
+echo "[pre-push] Running lint..."
+pnpm --filter @plutonhq/core-backend lint
+
+echo "[pre-push] Running tests..."
pnpm --filter @plutonhq/core-backend test
-echo "[pre-push] Backend tests passed. Continuing push."
\ No newline at end of file
+echo "[pre-push] Running build..."
+pnpm --filter @plutonhq/core-backend build
+
+echo "[pre-push] All checks passed. Continuing push."
\ No newline at end of file