feat: CISandbox v1.0.0 — Interactive CI Pipeline Debugger with Local Env Sync

This commit is contained in:
Bun Bun
2026-06-16 06:24:19 +00:00
commit af0d21c025
45 changed files with 4584 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
export interface Workflow {
name: string;
on: string | string[] | Record<string, unknown>;
jobs: Record<string, Job>;
env?: Record<string, string>;
}
export interface Job {
name?: string;
'runs-on': string;
steps: Step[];
env?: Record<string, string>;
needs?: string | string[];
if?: string;
}
export interface Step {
name?: string;
uses?: string;
run?: string;
with?: Record<string, string | number | boolean>;
env?: Record<string, string>;
if?: string;
workingDirectory?: string;
shell?: string;
id?: string;
}
export interface StepResult {
step: Step;
index: number;
status: 'pending' | 'running' | 'success' | 'failure' | 'skipped' | 'modified';
exitCode: number | null;
stdout: string;
stderr: string;
durationMs: number;
modifiedCommand?: string;
}
export interface RunContext {
workflow: Workflow;
jobName: string;
job: Job;
stepResults: StepResult[];
containerId: string | null;
env: Record<string, string>;
}
export interface DockerExecResult {
exitCode: number;
stdout: string;
stderr: string;
}
export interface RunnerOptions {
workflowFile: string;
jobName?: string;
dryRun?: boolean;
workspace?: string;
envFile?: string;
}
//# sourceMappingURL=types.d.ts.map