Skip to content

Add Qlty code coverage integration#869

Closed
davehenton wants to merge 1 commit intoxojs:mainfrom
dh-sandbox:qlty-coverage-integration
Closed

Add Qlty code coverage integration#869
davehenton wants to merge 1 commit intoxojs:mainfrom
dh-sandbox:qlty-coverage-integration

Conversation

@davehenton
Copy link

Summary

  • Add c8 as a devDependency to generate V8-based code coverage data
  • Configure CI workflow to generate lcov coverage reports on Node.js 24 matrix entry
  • Upload coverage to Qlty Cloud using the official GitHub Action (qltysh/qlty-action/coverage@v2)
  • Uses TypeScript source maps so coverage reports map to original .ts source files

Manual steps required

  1. Add QLTY_COVERAGE_TOKEN as a repository secret in GitHub Settings → Secrets and Variables → Actions
    • Obtain the token from your Qlty Cloud workspace settings at https://qlty.sh

Test plan

  • Verify CI passes on all Node.js matrix entries (20, 22, 24)
  • Verify coverage data is generated and uploaded from the Node 24 job
  • Verify coverage report appears in Qlty Cloud dashboard

🤖 Generated with Claude Code

Add c8 as a devDependency to generate V8 coverage data and configure
the CI workflow to upload lcov reports to Qlty Cloud from the Node 24
matrix entry. Coverage is generated by wrapping AVA with c8 and uses
source maps to map back to the original TypeScript sources.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sindresorhus
Copy link
Member

No thanks :)

@davehenton davehenton deleted the qlty-coverage-integration branch March 18, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants