Add GitHub code quality pipeline#12
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions “Code Quality” pipeline to run type-checking, unit tests with coverage reporting, dependency review on PRs, and CodeQL analysis for the TypeScript/JavaScript codebase.
Changes:
- Add a new
code-quality.ymlworkflow running dependency review, typecheck, tests/coverage, build, and CodeQL. - Extend Vitest coverage reporting to emit
json-summaryand ignore generatedcoverage/output. - Add a
typechecknpm script for CI-friendly TypeScript validation.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
vitest.config.ts |
Adds json-summary coverage reporter to generate machine-readable coverage output for CI summaries. |
package.json |
Introduces a typecheck script used by the workflow. |
.gitignore |
Ignores coverage/ artifacts produced by Vitest in CI and locally. |
.github/workflows/code-quality.yml |
New CI workflow for dependency review, unit-quality checks, coverage artifacts/summary, and CodeQL. |
.github/codeql/codeql-config.yml |
Configures CodeQL query packs and scoping to src/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <copilot@github.com>
|
@copilot apply changes based on the comments in this thread |
…ify coverage summary Agent-Logs-Url: https://github.com/precise-alloy/regression-test/sessions/7825985b-3655-4410-8a6d-f9977b97fc67 Co-authored-by: tuyen-at-work <68000455+tuyen-at-work@users.noreply.github.com>
Applied both review changes in fe21e7b:
|
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
No description provided.