v0.3.0
Generate `azure-pipelines.yml` from a simple declarative syntax in TypeScript π οΈ π» β¨
Attributes
Includes Deno configuration
Repository
Current version released
8 months ago
Dependencies
Fluent Azure Pipelines
Fluent Azure Pipelines is a deno module for generating Azure Pipelines configuration (azure-pipelines.yml
) files easily and fluently.
π Usage
import { AzurePipeline } from "https://deno.land/x/fluent_azure_pipelines/mod.ts";
const azurePipeline = new AzurePipeline();
azurePipeline
.trigger(["master"])
.pool({
name: "Default",
vmImage: "ubuntu-latest",
})
.step({
task: "NodeTool@0",
inputs: {
versionSpec: "18.x",
},
})
.step({
script: "npm ci",
displayName: "Install dependencies",
})
.step({
script: "node index.mjs",
displayName: "Run Dagger",
});
azurePipeline.save("azure-pipelines.yml");