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

Bun Pipeline

fluentci pipeline deno module deno compatibility codecov

CodeSee

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 mod install github.com/fluent-ci-templates/bun-pipeline@mod

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 "https://pkg.fluentci.io/bun_pipeline@v0.6.3/mod.ts";

await test();