fix(ci): use existing e2e replay script

Replace the missing pnpm test:replay step with pnpm test:e2e:replay and ensure gate runs with E2E_VCR_MODE=replay.
This commit is contained in:
linshen committed 2026-01-21 23:41:37 +08:00
1 parent 50ba9ab011
commit e39495bfb9
1 file changed
+4 -4
+4 -4
View File
@@ -40,11 +40,11 @@ jobs:
- name: 运行构建
run: pnpm build
- name: 运行测试(VCR 回放模式)
run: pnpm test:replay
- name: 安装 Playwright 浏览器
run: pnpm exec playwright install --with-deps chromium
- name: 运行 E2E(VCR 回放模式)
run: pnpm test:e2e:replay
- name: 运行门禁(含 E2E)
run: pnpm test:gate:full
run: E2E_VCR_MODE=replay pnpm test:gate:full