Skip to content

Commit 5b45a64

Browse files
committed
Upload coverage to Codecov
1 parent b2e3db9 commit 5b45a64

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ jobs:
5353
path: '**/node_modules'
5454
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-modules-${{ hashFiles('**/yarn.lock') }}
5555
- name: Test
56-
run: yarn test
56+
run: yarn test --coverage --reporters=default
57+
- name: Upload coverage to Codecov
58+
uses: codecov/[email protected]
59+
with:
60+
token: ${{ secrets.CODECOV_TOKEN }}
5761
env:
5862
CI: true
5963

0 commit comments

Comments
 (0)