File tree Expand file tree Collapse file tree 6 files changed +23
-4743
lines changed Expand file tree Collapse file tree 6 files changed +23
-4743
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,20 @@ name: Test
22
33on :
44 push :
5+ paths-ignore :
6+ - ' docs/**'
7+ - ' README.md'
8+ - ' LICENSE'
9+ - ' .editorconfig'
510 branches :
611 - main
712 - master
813 pull_request :
14+ paths-ignore :
15+ - ' docs/**'
16+ - ' README.md'
17+ - ' LICENSE'
18+ - ' .editorconfig'
919 branches :
1020 - main
1121 - master
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ npx --no-install commitlint --edit $1
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ [ -n " $CI " ] && exit 0
3+ . " $( dirname " $0 " ) /_/husky.sh"
4+
5+ npm run test
Original file line number Diff line number Diff line change 1+ module . exports = { extends : [ '@commitlint/config-conventional' ] }
Original file line number Diff line number Diff line change 1515 "build:types" : " node tools/cleanup types && tsc -p config/tsconfig.types.json" ,
1616 "clean" : " node tools/cleanup" ,
1717 "package" : " npm run build && npm pack" ,
18- "test" : " jest" ,
19- "test:cov" : " jest --coverage" ,
18+ "test" : " jest --no-cache --runInBand " ,
19+ "test:cov" : " jest --coverage --no-cache --runInBand " ,
2020 "addscope" : " node tools/packagejson name @tomchen/example-typescript-package"
2121 },
2222 "publishConfig" : {
5050 },
5151 "dependencies" : {},
5252 "devDependencies" : {
53+ "@commitlint/cli" : " ^11.0.0" ,
54+ "@commitlint/config-conventional" : " ^11.0.0" ,
5355 "@types/jest" : " ^26.0.20" ,
5456 "@typescript-eslint/eslint-plugin" : " ^4.15.0" ,
5557 "@typescript-eslint/parser" : " ^4.15.0" ,
You can’t perform that action at this time.
0 commit comments