mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
2.5 KiB
2.5 KiB
id, title, status, assignee, created_date, updated_date, labels, dependencies, priority, ordinal
| id | title | status | assignee | created_date | updated_date | labels | dependencies | priority | ordinal | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-35 | Add CI/CD pipeline for automated testing and quality gates | Done | 2026-02-14 00:57 | 2026-02-18 04:11 |
|
high | 17000 |
Description
CI should focus on build, test, and type-check validation and should not enforce fixed-size implementation ceilings.
Acceptance Criteria
- #1 CI is still triggered on
pushandpull_requesttomain. - #2 A canonical test entrypoint is added (
pnpm test) and executed in CI, or CI explicitly runs equivalent test commands. - #3 CI focuses on functional validation (build, tests, type checks) without hardcoded size gates.
- #4 Type-checking is explicitly validated in CI and failure behavior is documented (either
tsc --noEmitor equivalent). - #5 CI build verification target is defined clearly (current
pnpm run buildormake build) and documented. - #6 PR visibility requirement remains satisfied (workflow check appears on PRs).
- #7 CI scope (Linux-only vs multi-OS matrix) is documented and intentional.
Implementation Plan
- Add a root
pnpm testscript that runs bothtest:configandtest:core, or keep CI explicit on these two commands. - Add explicit type-check step (
pnpm exec tsc --noEmit) unlesspnpm run buildis accepted as the intended check. - Confirm no hardcoded size gates are treated as mandatory CI quality gates.
- Clarify CI build verification scope in docs and workflow (current
pnpm run buildvs optionalmake build). - Confirm whether security audit remains advisory or hard-fails. Optional: make advisory check non-blocking with explicit comment.
Final Summary
Updated .github/workflows/ci.yml to complete the CI contract without hardcoded size gates: added explicit pnpm exec tsc --noEmit, switched test execution to a canonical pnpm test, and kept build verification on pnpm run build on ubuntu-latest for push/pull_request to main. Also removed CI line-count gate enforcement by deleting check:main-lines* scripts from package.json and removing scripts/check-main-lines.sh from the repo. The workflow remains Linux-only by design and continues to show PR checks.