chore: tighten yonexus v1 validation flow

This commit is contained in:
nav
2026-04-09 05:03:06 +00:00
parent 3bb0a79057
commit 17b9cc83f4
4 changed files with 26 additions and 16 deletions

View File

@@ -223,7 +223,7 @@
建议把通过条件固化为:
- `Yonexus.Protocol` 测试必须全绿
- `Yonexus.Protocol` 类型检查 + 测试必须全绿
- Server / Client 类型检查必须全绿
- 新增联调测试后happy path 与至少一组安全失败路径必须全绿
@@ -234,10 +234,14 @@
```
该脚本会顺序执行:
- `Yonexus.Protocol`: `npm run test`
- `Yonexus.Protocol`: `npm run check && npm run test`
- `Yonexus.Server`: `npm run check && npm run test`
- `Yonexus.Client`: `npm run check && npm run test`
如果某个子仓库尚未安装依赖,脚本会优先自动执行:
-`package-lock.json` 时使用 `npm ci`
- 否则回退到 `npm install`
---
## 8. 当前对应关系