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

Bun Pipeline

fluentci pipeline deno module deno compatibility codecov

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

🚀 Usage

Run the following command:

dagger run fluentci 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:

dagger run fluentci .

Or simply:

fluentci

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 0.7.0

Jobs

Job Description
test Run the tests

Programmatic usage

You can also use this pipeline programmatically:

import { Client, connect } from "https://esm.sh/@dagger.io/dagger@0.8.1";
import { Dagger } from "https://pkg.fluentci.io/bun_pipeline/mod.ts";

const { test } = Dagger;

function pipeline(src = ".") {
  connect(async (client: Client) => {
    await test(client, src);
  });
}

pipeline();