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

Gleam Pipeline

deno module deno compatibility codecov

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

🚀 Usage

Run the following command:

dagger run fluentci gleam_pipeline

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

fluentci init -t gleam

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

dagger run fluentci .

Or simply:

fluentci

Jobs

Job Description
check Run type checking
format Format source code
test Run the tests
build Build the project

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://deno.land/x/gleam_pipeline/mod.ts";

const { check, format, test, build } = Dagger;

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

pipeline();