v0.3.1
Generate `azure-pipelines.yml` from a simple declarative syntax in TypeScript 🛠️ 💻 ✨
Attributes
Includes Deno configuration
Repository
Current version released
7 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");