From 94b8967602dd9cd87a1e61271df117d763d3b2d4 Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Tue, 31 Aug 2021 21:04:23 +0200 Subject: [PATCH] Add husky config files [ci skip] --- .husky/pre-commit | 4 ++++ .husky/pre-push | 4 ++++ 2 files changed, 8 insertions(+) create mode 100755 .husky/pre-commit create mode 100755 .husky/pre-push diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..449fcde --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm test diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 0000000..7f0217b --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +node .githooks/build-status.js