Skip to content

Commit d3215c4

Browse files
committed
build: add coverage report
1 parent 0deabd1 commit d3215c4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
name: coverage-report
3737
path: coverage
3838

39+
- name: Upload coverage to Codecov
40+
uses: codecov/codecov-action@v3
41+
with:
42+
token: ${{ secrets.CODECOV_TOKEN }}
43+
files: ./coverage/**/lcov.info
44+
3945
- name: Publish Package
4046
uses: JS-DevTools/npm-publish@v3
4147
with:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build": "ng build",
1919
"watch": "ng build --watch --configuration development",
2020
"test": "ng test",
21-
"ci:build": "ng build --prod",
21+
"ci:build": "ng build --configuration production",
2222
"ci:test": "ng test --watch=false --browsers ChromeHeadless --code-coverage"
2323
},
2424
"private": false,

0 commit comments

Comments
 (0)