ci: P3-6 前端单测接入CI + 覆盖率门禁 #542
Reference in New Issue
Block a user
Delete Branch "ci/frontend-unit-test-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目标
把前端 vitest 单测接入 CI 流水线,加覆盖率统计和低门槛门禁。Fixes #540
改动
新增 Frontend Unit Tests job(ci-cd.yml)
覆盖率门禁(vitest.config.ts)
新增依赖:@vitest/coverage-v8@1.6.1
check-frontend-only 增强:新增 skip_frontend 输出,纯后端改动跳过前端相关 job
说明
CI全绿,自动审批通过。
CI全绿,自动审批通过。
🗑️ 预览环境已清理
PR #542 已关闭或合并,对应的预览环境已被清理。