Skip to main content
Deno 2 is finally here 🎉️
Learn more

Bun Pipeline

fluentci pipeline deno module deno compatibility dagger-min-version codecov ci

A ready-to-use CI/CD Pipeline for your Bun projects.

Made with VHS

🚀 Usage

Run the following command:

fluentci run bun_pipeline

Or, if you want to use it as a template:

fluentci init -t bun

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

Or simply:

fluentci

🧩 Dagger Module

Use as a Dagger Module:

dagger install github.com/fluent-ci-templates/bun-pipeline@main

Call a function from the module:

dagger call test --src .
dagger call run --command build --src .

🛠️ Environment variables

Variable Description
NODE_VERSION The Node.js version to use. Defaults to 18.16.1
BUN_VERSION The Bun version to use. Defaults to latest

✨ Jobs

Job Description
run Run a command
test Run the tests
test(
  src: string | Directory | undefined = ".",
  bunVersion: string = "latest"
): Promise<string>

run(
  command: string,
  src: string | Directory | undefined = ".",
  bunVersion: string = "latest"
): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { test } from "jsr:@fluentci/bun";

await test();