ci: better release

This commit is contained in:
Simone Corsi
2021-01-16 09:25:39 +01:00
parent bb5dd1f427
commit ea3472770f
5 changed files with 9 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
module.exports = {
hooks: {
'prepare-commit-msg': 'exec < /dev/tty && git cz --hook || true',
'pre-commit': 'npm run build && lint-staged',
'pre-commit': 'lint-staged',
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
},
};