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:
parent
495efc5011
commit
7e1866e588
3 changed files with 659 additions and 84 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue