File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 17
17
- name : npm install, make test-coverage
18
18
run : |
19
19
npm install
20
- make test- coverage
20
+ npm run test: coverage
21
21
22
- - name : Coveralls
23
- uses : coverallsapp/github-action@v2.3.0
22
+ - name : Upload coverage to Coveralls
23
+ uses : coverallsapp/github-action@v2.3.0
24
+ with :
25
+ github-token : ${{ secrets.GITHUB_TOKEN }}
26
+ path-to-lcov : ./coverage/lcov.info
Original file line number Diff line number Diff line change 1
1
node_modules
2
- dist
2
+ dist
3
+ coverage
Original file line number Diff line number Diff line change 46
46
"update:eslint-docs" : " eslint-doc-generator" ,
47
47
"fix:md" : " npm run lint:docs -- --fix" ,
48
48
"test:new" : " jest" ,
49
- "prepare" : " husky"
49
+ "prepare" : " husky" ,
50
+ "test:coverage" : " jest --coverage"
50
51
},
51
52
"dependencies" : {
52
53
"eslint-plugin-header" : " ^3.1.1" ,
You can’t perform that action at this time.
0 commit comments