Files
setup-opentofu/.husky/pre-commit
T
2023-10-16 17:09:22 +02:00

8 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/