import type { RunStep } from "@/contracts"; import { StatusPill } from "@/client/components/status-pill"; import { formatDuration } from "@/client/lib"; const StepRow = ({ step, isActive }: { step: RunStep; isActive: boolean }) => { return (
{step.position}
{step.name}

{step.command}

{step.startedAt && step.finishedAt ? {formatDuration(step.startedAt, step.finishedAt)} : null} {step.exitCode !== null ? exit {step.exitCode} : null}
); }; export { StepRow };