ci: keep pre-commit proportionate and avoid tool downloads (WealthLedger/frontend#62)
Frontend verify / commits (pull_request) Successful in 34s
Frontend verify / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Successful in 5m37s

This commit is contained in:
2026-10-15 06:16:01 +03:00
parent ed63adad94
commit cb97ced66c
4 changed files with 50 additions and 4 deletions
+5 -2
View File
@@ -1,3 +1,6 @@
gitleaks git --pre-commit --staged --redact=100 --no-banner || exit $?
npx lint-staged
npm run deps
if [ ! -x node_modules/.bin/lint-staged ]; then
echo "lint-staged is not installed; run npm ci" >&2
exit 1
fi
node_modules/.bin/lint-staged