https://github.com/tsirysndr/fluent-circleci
Generate CircleCI YAML config from a simple declarative syntax in TypeScript 🛠️ 💻 ✨
https://github.com/tsirysndr/fluent-circleci
cicd circleci deno deno-module pipeline typescript
Last synced: 4 months ago
JSON representation
Generate CircleCI YAML config from a simple declarative syntax in TypeScript 🛠️ 💻 ✨
- Host: GitHub
- URL: https://github.com/tsirysndr/fluent-circleci
- Owner: tsirysndr
- License: mit
- Created: 2023-08-17T12:45:39.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-25T14:38:28.000Z (about 1 year ago)
- Last Synced: 2025-02-25T19:40:26.835Z (5 months ago)
- Topics: cicd, circleci, deno, deno-module, pipeline, typescript
- Language: TypeScript
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Fluent CircleCI
[](https://deno.land/x/fluent_circleci)

[](https://jsr.io/@tsirysndr/fluent-circleci)
[](https://codecov.io/gh/tsirysndr/fluent-circleci)Fluent CircleCI is a deno module for generating CircleCI configuration files easily and fluently.
## 🚀 Usage
```typescript
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");
```