From ac4aa7fda8a3cde5f84cccf30d48ecbfba6ac495 Mon Sep 17 00:00:00 2001 From: Dominik Ferber Date: Wed, 9 Mar 2016 19:12:09 +0100 Subject: [PATCH] chore: run tests before push --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 63b9720a5a..e51cf6d736 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,8 @@ ], "config": { "ghooks": { - "commit-msg": "node_modules/.bin/validate-commit-msg" + "commit-msg": "node_modules/.bin/validate-commit-msg", + "pre-push": "npm test" }, "commitizen": { "path": "node_modules/cz-conventional-changelog/"