From 5e7c41002a4e3afc160798264bf88498808f155f Mon Sep 17 00:00:00 2001 From: ocBruno Date: Sun, 2 Feb 2020 04:34:55 -0300 Subject: [PATCH] fix(build): add test after lint in precommit husky hook fix #1775 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 302d1e8e28..c62f638fc8 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ }, "husky": { "hooks": { - "pre-commit": "lint-staged", + "pre-commit": "lint-staged && yarn test:ci ", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } },