setup-opentofu/.husky/pre-commit
Dmitry Kisler 35304a0e28
chore: add audit step to precommit hooks
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-10-16 17:09:22 +02:00

7 lines
161 B
Bash
Executable file

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint || (npm install && npm run lint)
npm run test
npm audit --audit-level=high
npm run build && git add dist/