File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,20 @@ jobs:
21
21
with :
22
22
cmd : build
23
23
24
+ - name : Lint
25
+ uses : borales/actions-yarn@v4
26
+ with :
27
+ cmd : lint
28
+
24
29
- name : Test
25
30
uses : borales/actions-yarn@v4
26
31
with :
27
32
cmd : test
28
33
29
- - name : Lint
34
+ - name : Generate test coverage
30
35
uses : borales/actions-yarn@v4
31
36
with :
32
- cmd : lint
37
+ cmd : report-coverage
38
+
39
+ - name : Upload coverage reports to Codecov
40
+ uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 10
10
"build" : " cross-env BABEL_ENV=production node rollup.js" ,
11
11
"lint" : " eslint src/ test/" ,
12
12
"test" : " nyc --cache --reporter=text --reporter=html ava" ,
13
- "report-coverage" : " nyc report --reporter=text-lcov > coverage.lcov && codecov " ,
13
+ "report-coverage" : " nyc report --reporter=text-lcov > coverage.lcov" ,
14
14
"watch:build" : " npm run build -- --watch" ,
15
15
"watch:lint" : " chokidar 'src/**/*.js' 'test/**/*.js' -c 'eslint {path}'" ,
16
16
"watch:test" : " ava --watch" ,
You can’t perform that action at this time.
0 commit comments