ReferenceWorkflow Steps
Phase Step
Organize steps into named phases for better workflow structure.
Configuration
interface PhaseOptions {
description?: string;
}Timeout: N/A (wraps other steps)
Usage
await step.phase("build", async () => {
await step.cli("install", { command: "pnpm install" });
await step.cli("compile", { command: "pnpm build" });
});
await step.phase("test", async () => {
await step.cli("unit", { command: "pnpm test:unit" });
await step.cli("e2e", { command: "pnpm test:e2e" });
});See Phases Concept for details.