Skip to content

Commit

Permalink
chore(ci): skip husky in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Jan 20, 2022
1 parent 1f1307c commit ee731e4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
yarn commitlint --edit $1
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# skip in CI
[ -n "$CI" ] && exit 0

# lint commit message
yarn commitlint --edit "$1"

0 comments on commit ee731e4

Please sign in to comment.