11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-06 09:36:53 +00:00

test: run tests before committing, in addition to pretty-quick

`pretty-quick` is not needed any more as lint-staged can run prettier with just the staged files,
thus getting the same behaviour.

Closes #60.
This commit is contained in:
Jeroen de Bruijn 2020-11-21 14:24:26 +01:00
parent 495efc5011
commit 7e1866e588
No known key found for this signature in database
GPG key ID: 94DD99A281A21364
3 changed files with 659 additions and 84 deletions

View file

@ -40,15 +40,15 @@
"conventional-changelog-cli": "^2.1.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lint-staged": "^10.5.1",
"prettier": "^1.19.1",
"pretty-quick": "^1.11.1",
"standard-version": "^9.0.0",
"testdouble": "^3.16.1",
"yaml": "^1.10.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}