agent-ci

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Agent CI

Agent CI

Run the full CI pipeline locally before pushing. CI was green before you started — any failure is caused by your changes.
在推送代码前在本地运行完整的CI流水线。你开始修改前CI是正常的——任何失败都由你的变更导致。

Run

运行

bash
npx @redwoodjs/agent-ci run --quiet --all --pause-on-failure
bash
npx @redwoodjs/agent-ci run --quiet --all --pause-on-failure

Retry

重试

When a step fails, the run pauses automatically. Fix the issue, then retry:
bash
npx @redwoodjs/agent-ci retry --name <runner-name>
To re-run from an earlier step:
bash
npx @redwoodjs/agent-ci retry --name <runner-name> --from-step <N>
Repeat until all jobs pass. Do not push to trigger remote CI when agent-ci can run it locally.
当某个步骤失败时,运行会自动暂停。修复问题后,执行重试:
bash
npx @redwoodjs/agent-ci retry --name <runner-name>
如需从更早的步骤重新运行:
bash
npx @redwoodjs/agent-ci retry --name <runner-name> --from-step <N>
重复操作直到所有任务通过。当agent-ci可以在本地运行CI时,不要推送代码触发远程CI。