UNPKG

singularci

Version:

SingularCI is a DSL transpiler used to generate CI/CD configuration files for existing CI platforms

23 lines 701 B
import IStage from './interfaces/IStage'; import Job, { JobSyntaxType } from './Job'; export declare type StageSyntaxType = { name: string; runs_on: string; needs?: string[]; jobs: JobSyntaxType[]; }; export default class StageFactory { createStage(stageName: string, jobs: Job[], needs: string[], runsOn: string): IStage; } export declare class Stage implements IStage { private name; private jobs; private needs; private runs_on; constructor(name: string, jobs: Job[], needs: string[], runs_on: string); getName(): string; getJobs(): Job[]; getNeeds(): string[]; getRunsOn(): string; } //# sourceMappingURL=Stage.d.ts.map