Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsirysndr/fluent-azure-pipelines
Generate `azure-pipelines.yml` from a simple declarative syntax in TypeScript 🛠️ 💻 ✨
https://github.com/tsirysndr/fluent-azure-pipelines
azure-devops cicd deno deno-module pipeline typescript
Last synced: about 1 month ago
JSON representation
Generate `azure-pipelines.yml` from a simple declarative syntax in TypeScript 🛠️ 💻 ✨
- Host: GitHub
- URL: https://github.com/tsirysndr/fluent-azure-pipelines
- Owner: tsirysndr
- License: mit
- Created: 2023-08-17T12:27:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-25T14:00:27.000Z (7 months ago)
- Last Synced: 2024-11-14T00:07:14.087Z (about 1 month ago)
- Topics: azure-devops, cicd, deno, deno-module, pipeline, typescript
- Language: TypeScript
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Fluent Azure Pipelines
[![deno module](https://shield.deno.dev/x/fluent_azure_pipelines)](https://deno.land/x/fluent_azure_pipelines)
![deno compatibility](https://shield.deno.dev/deno/^1.34)
[![](https://jsr.io/badges/@tsirysndr/fluent-az-pipelines)](https://jsr.io/@tsirysndr/fluent-az-pipelines)
[![](https://img.shields.io/codecov/c/gh/tsirysndr/fluent-azure-pipelines)](https://codecov.io/gh/tsirysndr/fluent-azure-pipelines)Fluent Azure Pipelines is a deno module for generating Azure Pipelines configuration (`azure-pipelines.yml`) files easily and fluently.
## 🚀 Usage
```typescript
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");
```