chore: update pre-commit

Signed-off-by: Dmitry Kisler <admin@dkisler.com>
This commit is contained in:
Dmitry Kisler 2023-10-16 16:27:51 +02:00
parent c5f53550a0
commit faa7895f02
No known key found for this signature in database
GPG key ID: 46C0A987D58548F6
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm install
npm run test
npm run build && git add dist/

5
.husky/pre-push Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm install
npm test