setup-opentofu/.husky/pre-commit
Dmitry Kisler 11d153f6b5
chore: add lint step
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-10-16 16:33:32 +02:00

6 lines
130 B
Bash
Executable file

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