UNPKG

@catladder/pipeline

Version:

Panter workflow for cloud CI/CD and DevOps

12 lines (9 loc) 372 B
import { stringify } from "yaml"; import type { Config } from "../../src"; import { getGitlabCompletePipeline, yamlStringifyOptions } from "../../src"; export const createYamlLocalPipeline = async ( config: Config, ): Promise<string> => { const pipelineContent = await getGitlabCompletePipeline(config); return stringify(pipelineContent, yamlStringifyOptions); };