Skip to content

Commit cbd87a4

Browse files
committed
fix: badges coverage to lcon
1 parent db5a966 commit cbd87a4

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/github-ci.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Unit Test 🧪
33
on:
44
push:
55
branches: ["main", "stg"]
6+
paths-ignore:
7+
- "**/coverage.svg"
68
pull_request:
79
branches: ["main", "stg"]
810

@@ -69,6 +71,18 @@ jobs:
6971
- name: Test
7072
run: bun test
7173
- name: Generating coverage badges
72-
uses: jpb06/jest-badges-action@v1.9.18
74+
uses: ImBIOS/lcov-coverage-badge@v1
7375
with:
74-
branches: main, stg
76+
file: ./coverage/lcov.info
77+
access_token: ${{ secret.GITHUB_TOKEN }}
78+
style: flat
79+
icon_name: googlecloud
80+
icon_color: "ffffff"
81+
label: "Coverage"
82+
label_color: "ffffff"
83+
critical: 60
84+
criticalColor: "9c2c9c"
85+
warning: 75
86+
warningColor: "d68f0c"
87+
success_color: "43ad43"
88+
message_color: "ffffff"

0 commit comments

Comments
 (0)