From 4919d5488515729ec9fa52dc2317bbc3c2c99b3e Mon Sep 17 00:00:00 2001 From: Ivan Zuev Date: Fri, 24 Dec 2021 15:30:38 +0300 Subject: [PATCH] fix: disable husky hooks in CI --- .husky/commit-msg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.husky/commit-msg b/.husky/commit-msg index 3b4299ef..88badebd 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,6 @@ #!/bin/sh +[ -n "$CI" ] && exit 0 + . "$(dirname "$0")/_/husky.sh" npx --no -- commitlint --edit "$1"