ci: keep pre-commit proportionate and avoid tool downloads (WealthLedger/frontend#62)
Frontend verify / commits (pull_request) Successful in 38s
Frontend verify / security (pull_request) Successful in 10s
Frontend verify / verify (pull_request) Successful in 6m34s

This commit is contained in:
2026-10-14 23:33:51 +03:00
parent bc28973d1a
commit 228b66164f
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