File tree 4 files changed +108
-50
lines changed
4 files changed +108
-50
lines changed Original file line number Diff line number Diff line change 34
34
env :
35
35
CYPRESS_RECORD_KEY : ${{ secrets.CYPRESS_RECORD_KEY }}
36
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
- - name : Upload coverage report to Codecov.io
38
- uses : codecov/codecov-action@master
39
- with :
40
- token : ${{ secrets.CODECOV_TOKEN }} # not required for public repos
41
- file : ./coverage/coverage-final.json # optional
42
- flags : pwa-tests # optional
43
- name : codecov-umbrella # optional
44
- fail_ci_if_error : true # optional (default = false)
45
37
- name : Build PWA distribution for production
46
38
run : |
47
39
npm run build --if-present
52
44
env :
53
45
GITHUB_TOKEN : ${{ secrets.GITHUB_PAT }}
54
46
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
55
- - name : Semantic release flow completed
56
- run : echo Semantic release flow completed
47
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 25
25
["@semantic-release/github", {
26
26
"assets": [
27
27
]
28
- }],
28
+ }],
29
+ ["@semantic-release/exec", {
30
+ "publishCmd": "npm run codecov"
31
+ }],
29
32
]
30
33
}
Original file line number Diff line number Diff line change 20
20
"serve" : " vue-cli-service serve" ,
21
21
"build" : " vue-cli-service build" ,
22
22
"lint" : " vue-cli-service lint" ,
23
- "test" : " npx cypress run"
23
+ "test" : " npx cypress run" ,
24
+ "codecov" : " codecov -f coverage/coverage-final.json"
24
25
},
25
26
"funding" : {
26
27
"type" : " github" ,
27
28
"url" : " https://github.com/sponsors/ambianic"
28
29
},
29
30
"dependencies" : {
31
+ "codecov" : " ^3.6.5" ,
30
32
"compression-webpack-plugin" : " ^3.1.0" ,
31
33
"idb" : " ^5.0.2" ,
32
34
"konva" : " ^4.2.2" ,
You can’t perform that action at this time.
0 commit comments