Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,8 @@ jobs:
- name: Lint web
run: npm run lint

- name: Test web
run: npm test

- name: Build web
run: npm run build
5 changes: 3 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ python -m py_compile <changed_python_files>
cd apps/finagent-web
npm ci
npm run lint
npm test
npm run build

cd ../finagent-desktop
Expand Down Expand Up @@ -137,7 +138,7 @@ gh run view <run_id> --log-failed
| `ai-governance` | `.github/workflows/ci.yml` | 校验 `AGENTS.md` / `CLAUDE.md` / `.github` 指令 / `.claude/skills` 关系 | 是 |
| `backend-gate` | `.github/workflows/ci.yml` | 执行 `./scripts/ci_gate.sh` | 是 |
| `docker-build` | `.github/workflows/ci.yml` | Docker 构建与关键模块导入 smoke | 是 |
| `web-gate` | `.github/workflows/ci.yml` | 前端改动时执行 `npm run lint` + `npm run build` | 是(触发时) |
| `web-gate` | `.github/workflows/ci.yml` | 前端改动时执行 `npm run lint` + `npm test` + `npm run build` | 是(触发时) |
| `network-smoke` | `.github/workflows/network-smoke.yml` | `pytest -m network` + `test.sh quick` | 否,观测项 |
| `pr-review` | `.github/workflows/pr-review.yml` | PR 静态检查 + AI 审查 + 自动标签 | 否,辅助项 |

Expand All @@ -153,7 +154,7 @@ gh run view <run_id> --log-failed

- Web 前端改动:
- 适用范围:`apps/finagent-web/`
- 默认执行:`cd apps/finagent-web && npm ci && npm run lint && npm run build`
- 默认执行:`cd apps/finagent-web && npm ci && npm run lint && npm test && npm run build`
- 若涉及 API 联调、路由、状态管理、Markdown/图表渲染或认证状态,交付说明中要明确说明联动面和未覆盖风险。

- 桌面端改动:
Expand Down
Loading
Loading