setup-kubectl/.husky/pre-commit
Tatsinnit 00ca972929
Some checks failed
CodeQL Advanced / Analyze (javascript-typescript) (push) Failing after 3s
Integration test for setup-kubectl / Validate release and master branch (push) Failing after 3s
Run prettify / Prettier Check (push) Failing after 4s
Run unit tests. / build (push) Failing after 4s
Add husky precommit check in the repo. (#171)
Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
2025-07-03 10:55:16 +12:00

9 lines
No EOL
204 B
Text

set +e
npm test
# Run format check
npm run format-check || {
echo ""
echo "❌ Formatting check failed."
echo "💡 Run 'npm run format' or 'prettier --write .' to fix formatting issues."
exit 1
}