File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : validate
1+ name : CI
22on :
33 push :
44 branches :
1414 pull_request :
1515 branches-ignore : ['all-contributors/**']
1616jobs :
17- main :
17+ validate :
1818 strategy :
1919 matrix :
2020 node : [12, 14, 16]
@@ -36,14 +36,18 @@ jobs:
3636 env :
3737 HUSKY_SKIP_INSTALL : true
3838
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
4145
4246 - name : ⬆️ Upload coverage report
4347 uses : codecov/codecov-action@v1
4448
4549 release :
46- needs : main
50+ needs : validate
4751 runs-on : ubuntu-latest
4852 if :
4953 ${{ github.repository == 'testing-library/user-event' &&
Original file line number Diff line number Diff line change 3232 "test" : " kcd-scripts test" ,
3333 "test:debug" : " kcd-scripts --inspect-brk test --runInBand" ,
3434 "test:update" : " npm test -- --updateSnapshot --coverage" ,
35- "validate" : " kcd-scripts validate" ,
36- "typecheck" : " kcd-scripts typecheck"
35+ "validate" : " kcd-scripts typecheck"
3736 },
3837 "devDependencies" : {
3938 "@ph.fritsche/scripts-config" : " ^2.2.4" ,
You can’t perform that action at this time.
0 commit comments