Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-25T14:38:28.000Z (7 months ago)
- Last Synced: 2024-11-14T00:07:14.379Z (about 1 month 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
[![deno module](https://shield.deno.dev/x/fluent_circleci)](https://deno.land/x/fluent_circleci)
![deno compatibility](https://shield.deno.dev/deno/^1.34)
[![](https://jsr.io/badges/@tsirysndr/fluent-circleci)](https://jsr.io/@tsirysndr/fluent-circleci)
[![](https://img.shields.io/codecov/c/gh/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");
```