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

Deno Pipeline

fluentci pipeline deno module deno compatibility

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

🚀 Usage

Run the following command:

fluentci run deno_pipeline

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

fluentci init -t deno

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

Environment variables (Deno Deploy)

Variable Description Default
DENO_PROJECT Your project name
NO_STATIC Disable static assets false
EXCLUDE Exclude files from deploy
DENO_DEPLOY_TOKEN Your Deno Deploy token
DENO_MAIN_SCRIPT Your main script main.tsx

Jobs

Job Description Options
fmt Format your code
lint Lint your code
test Run your tests { ignore: string[] }
compile Compile the given script into a self contained executable
deploy Deploy your app to Deno Deploy
compile(
  file: String!, 
  output: String!, 
  src: String!, 
  target: String!
): String

deploy(
  main: String!, 
  noStatic: Boolean!, 
  project: String!, 
  src: String!, 
  token: String!
): String

fmt(src: String!): String

lint(src: String!): String

test(src: String!): String

Programmatic usage

You can also use this pipeline programmatically:

import { fmt, lint, test } from "https://deno.land/x/deno_pipeline/mod.ts";

await fmt();
await lint();
await test();