v0.2.5
Generate CircleCI YAML config from a simple declarative syntax in TypeScript π οΈ π» β¨
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Fluent CircleCI
Fluent CircleCI is a deno module for generating CircleCI configuration files easily and fluently.
π Usage
import { CircleCI, Job } from "https://deno.land/x/fluent_circleci/mod.ts";
const circleci = new CircleCI();
const build = new Job()
.docker([{ image: "cimg/node:lts" }])
.step("checkout")
.step({
setup_remote_docker: {
docker_layer_caching: true,
},
})
.step({
run: {
name: "Install deps",
command: "npm ci",
},
})
.step({
run: {
name: "Dagger Pipeline",
command: "node index.mjs",
},
});
circleci.jobs({ build }).workflow("dagger", ["build"]);
circleci.save(".circleci/config.yml");