File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
- name : validate
1
+ name : CI
2
2
on :
3
3
push :
4
4
branches :
14
14
pull_request :
15
15
branches-ignore : ['all-contributors/**']
16
16
jobs :
17
- main :
17
+ validate :
18
18
strategy :
19
19
matrix :
20
20
node : [12, 14, 16]
@@ -36,14 +36,18 @@ jobs:
36
36
env :
37
37
HUSKY_SKIP_INSTALL : true
38
38
39
- - name : ▶️ Run validate script
40
- run : npm run validate
39
+ - name : ✍ Lint
40
+ run : npm run lint
41
+ - name : 🧪 Test
42
+ run : npm run test -- --coverage
43
+ - name : 🏗 Build
44
+ run : npm run build
41
45
42
46
- name : ⬆️ Upload coverage report
43
47
uses : codecov/codecov-action@v1
44
48
45
49
release :
46
- needs : main
50
+ needs : validate
47
51
runs-on : ubuntu-latest
48
52
if :
49
53
${{ github.repository == 'testing-library/user-event' &&
Original file line number Diff line number Diff line change 32
32
"test" : " kcd-scripts test" ,
33
33
"test:debug" : " kcd-scripts --inspect-brk test --runInBand" ,
34
34
"test:update" : " npm test -- --updateSnapshot --coverage" ,
35
- "validate" : " kcd-scripts validate" ,
36
- "typecheck" : " kcd-scripts typecheck"
35
+ "validate" : " kcd-scripts typecheck"
37
36
},
38
37
"devDependencies" : {
39
38
"@ph.fritsche/scripts-config" : " ^2.2.4" ,
You can’t perform that action at this time.
0 commit comments