chore: update pre-commit

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

View file

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

View file

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