v0.1.1
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 GitLab CI Pipeline and Jobs for your Deno projects.
🚀 Usage
Quick start:
import { GitLab } from "https://deno.land/x/deno_pipeline/mod.ts";
const { pipeline } = GitLab;
pipeline.write(); // Write the pipeline to the file .gitlab-ci.yml
Or, if you want to use the predefined jobs:
import { GitlabCI } from "https://deno.land/x/fluent_gitlab_ci/mod.ts";
import { GitLab } from "https://deno.land/x/deno_pipeline/mod.ts";
const { fmt, lint, test } = GitLab;
const const pipeline = new GitlabCI()
.image("denoland/deno:alpine")
.addJob("fmt", fmt)
.addJob("lint", lint)
.addJob("test", test);
pipeline.write(); // Write the pipeline to the file .gitlab-ci.yml
It will generate the following .gitlab-ci.yml
file:
# Do not edit this file directly. It is generated by Fluent GitLab CI
image: denoland/deno:alpine
fmt:
image: denoland/deno:alpine
script:
- deno fmt --check
lint:
image: denoland/deno:alpine
script:
- deno lint
test:
image: denoland/deno:alpine
script:
- deno test
🧪 Advanced Usage
This package also provides a ready-to-use pipeline for Dagger:
import Client, { connect } from "@dagger.io/dagger";
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();