v0.2.0
A ready-to-use CI/CD Pipeline and jobs for Deno projects.
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Versions
- v0.11.1Latest
- v0.11.0
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.2
- v0.9.1
- v0.9.0
- v0.9.0
- v0.8.6
- v0.8.5
- v0.8.5
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- 0.7.2
- v0.7.1
- v0.7.0
- v0.6.1
- v0.6.0
- v0.6.0
- v0.5.5
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.3
- v0.5.2
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.3
- v0.4.2
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.1
- v0.3.0
- v0.2.2
- v0.2.0
- v0.1.12
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.1
- v0.1.0
Deno Pipeline
A ready-to-use CI/CD Pipeline for your Deno projects.
🚀 Usage
Run the following command:
dagger run fluentci 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:
dagger run fluentci .
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[] } |
deploy | Deploy your app to Deno Deploy |
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/deno_pipeline/mod.ts";
const { fmt, lint, test } = Dagger;
function pipeline(src = ".") {
connect(async (client: Client) => {
await fmt(client, src);
await lint(client, src);
await test(client, src);
});
}
pipeline();