chore: tighten yonexus v1 validation flow
This commit is contained in:
@@ -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. 当前对应关系
|
||||
|
||||
Reference in New Issue
Block a user