Skip to content

Commit fbb1f50

Browse files
ci: add test coverage reporting with Codecov (#5)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9dccf9f commit fbb1f50

4 files changed

Lines changed: 879 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,9 @@ jobs:
3232
env:
3333
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
- run: npm run build
35-
- run: npm test
35+
- run: npm run test:coverage
36+
- name: Upload coverage to Codecov
37+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
38+
with:
39+
files: ./coverage/coverage-final.json
40+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)