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

Gleam Pipeline

fluentci pipeline deno module deno compatibility codecov

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

🚀 Usage

Run the following command:

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

Dagger Module

Use as a Dagger module:

dagger mod install github.com/fluent-ci-templates/gleam-pipeline@mod

Jobs

Job Description
check Run type checking
format Format source code
test Run the tests
build Build the project
check(
  src: Directory | string | undefined = "."
): Promise<string>

format(
  src: Directory | string | undefined = "."
): Promise<Directory | string>

test(
  src: Directory | string | undefined = "."
): Promise<string>

build(
  src: Directory | string | undefined = "."
): Promise<Directory | string>

Programmatic usage

You can also use this pipeline programmatically:

import { check, format, test, build } from "https://pkg.fluentci.io/gleam_pipeline@v0.6.1/mod.ts";

await check();
await format();
await test();
await build();