Skip to content

Commit c7d5ab1

Browse files
committed
ci: install codecov coverage uploads (Tier-2 quality)
Free unlimited for public repos. Surfaces coverage delta in PR comments. No account / token needed for public repo uploads. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent baaf1fc commit c7d5ab1

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: coverage
2+
3+
on:
4+
pull_request:
5+
branches: [master, main]
6+
push:
7+
branches: [master, main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
coverage:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
cache: npm
22+
- run: npm ci
23+
- run: npm test -- --coverage || true
24+
- uses: codecov/codecov-action@v4
25+
with:
26+
fail_ci_if_error: false

0 commit comments

Comments
 (0)