✅ Optimized Pre-Push Hook: - Quick checks only: ESLint, TypeScript, npm audit - Removed slow tests and build (run in GitHub Actions) - ~3x faster for small fixes ✅ Added Full Pre-Push Option: - npm run pre-push:full for complete checks - Use for important changes or releases - Includes tests and build locally 🎯 Best Practices: - Quick checks locally (30 seconds) - Full validation in GitHub Actions - Best of both worlds: speed + thoroughness 📝 Usage: - Normal pushes: npm run pre-push (fast) - Important changes: npm run pre-push:full (thorough)
2.4 KiB
Executable File
2.4 KiB
Executable File