File tree 6 files changed +23
-4743
lines changed
6 files changed +23
-4743
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,20 @@ name: Test
2
2
3
3
on :
4
4
push :
5
+ paths-ignore :
6
+ - ' docs/**'
7
+ - ' README.md'
8
+ - ' LICENSE'
9
+ - ' .editorconfig'
5
10
branches :
6
11
- main
7
12
- master
8
13
pull_request :
14
+ paths-ignore :
15
+ - ' docs/**'
16
+ - ' README.md'
17
+ - ' LICENSE'
18
+ - ' .editorconfig'
9
19
branches :
10
20
- main
11
21
- 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 15
15
"build:types" : " node tools/cleanup types && tsc -p config/tsconfig.types.json" ,
16
16
"clean" : " node tools/cleanup" ,
17
17
"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 " ,
20
20
"addscope" : " node tools/packagejson name @tomchen/example-typescript-package"
21
21
},
22
22
"publishConfig" : {
50
50
},
51
51
"dependencies" : {},
52
52
"devDependencies" : {
53
+ "@commitlint/cli" : " ^11.0.0" ,
54
+ "@commitlint/config-conventional" : " ^11.0.0" ,
53
55
"@types/jest" : " ^26.0.20" ,
54
56
"@typescript-eslint/eslint-plugin" : " ^4.15.0" ,
55
57
"@typescript-eslint/parser" : " ^4.15.0" ,
You can’t perform that action at this time.
0 commit comments