File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 44
55# Auto-fix linting and formatting
66echo " 🔧 Auto-fixing code quality issues..."
7- cd .cursor && task qa:fix
7+ (cd .cursor && task qa:fix) || exit 1
8+
9+ # Run the full QA suite (linting, testing, etc.)
10+ echo " 🛠️ Running comprehensive QA checks..."
11+ (cd .cursor && task qa:all) || exit 1
812
913# Validate founder rules
1014echo " 📋 Validating founder rules..."
11- cd .cursor && task qa:rules:check
15+ ( cd .cursor && task qa:rules:check) || exit 1
1216
1317# Cursor docs validation (informational, won't block commit)
14- cd .. && node automation/scripts/validate-cursor-docs.mjs || echo " ⚠️ Cursor docs validation failed (non-blocking)"
18+ node automation/scripts/validate-cursor-docs.mjs || echo " ⚠️ Cursor docs validation failed (non-blocking)"
19+
1520
Original file line number Diff line number Diff line change 11#! /bin/sh
22# Husky pre-push hook
33# 1. Cleanup root documentation (vibe_manager_vibe responsibility)
4- # 2. Run smoke tests
5- # 3. Run E2E tests
4+ # 2. Run auto-fix and comprehensive QA suite
65
76echo " 🧹 Vibe Manager: Cleaning up root documentation..."
87echo " "
@@ -11,18 +10,14 @@ echo ""
1110node automation/scripts/cleanup-root-docs.mjs || echo " ⚠️ Cleanup had warnings (non-blocking)"
1211
1312echo " "
14- echo " 🧪 Running smoke tests before push (bun run qa:smoke) ..."
13+ echo " 🔧 Auto-fixing code quality issues before push..."
1514echo " "
16-
17- # Single entry point ensures Turborepo + Taskfile stay in sync
18- bun run qa:smoke || exit 1
15+ (cd .cursor && task qa:fix) || exit 1
1916
2017echo " "
21- echo " 🎭 Running E2E tests before push (bun run test:e2e:ci) ..."
18+ echo " 🛠️ Running comprehensive QA checks before push..."
2219echo " "
23-
24- # Run E2E tests in headless CI mode
25- bun run test:e2e:ci || exit 1
20+ (cd .cursor && task qa:all) || exit 1
2621
2722echo " "
2823echo " ✅ All checks passed - proceeding with push"
You can’t perform that action at this time.
0 commit comments