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

Dotnet Pipeline

deno module deno compatibility

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

🚀 Usage

Run the following command in your project root:

dagger run fluentci dotnet_pipeline

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

fluentci init -t dotnet

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

dagger run fluentci .

Jobs

Job Description
test Run your 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/dotnet_pipeline/mod.ts";

const { build, test } = Dagger;

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

pipeline();