summaryrefslogtreecommitdiffstats
path: root/.husky
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-27 18:44:27 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-03 11:53:53 +0200
commit7de22756ea4ae6e07a26da8c693fcf5d461b053d (patch)
treec3b82351eb97e926900669dcda6b79a5b1a0fa80 /.husky
parent0622e6febf76db3585073a993f954dd1369a8eb4 (diff)
build(test): add a pre-push hook to run unit tests
Diffstat (limited to '.husky')
-rwxr-xr-x.husky/pre-push4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-push b/.husky/pre-push
new file mode 100755
index 0000000..3765211
--- /dev/null
+++ b/.husky/pre-push
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+. "$(dirname -- "$0")/_/husky.sh"
+
+yarn run test:unit:ci