Skip to content

Commit edb9207

Browse files
committed
ci: update workflows config.
1 parent ab03817 commit edb9207

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
- run: npm install
2121
- run: npm run build
2222
- run: npm run doc
23+
- run: npm run coverage
24+
- name: Create Coverage Badges
25+
uses: jaywcjlove/coverage-badges-cli@main
26+
with:
27+
source: core/coverage/coverage-summary.json
28+
output: ./website/build/badges.svg
29+
30+
- run: cp -rp core/coverage/lcov-report ./website/build/
2331

2432
- name: Generate Contributors Images
2533
uses: jaywcjlove/github-action-contributors@main

0 commit comments

Comments
 (0)