prompt
CI Pipeline Generator
Generates a CI workflow (e.g. GitHub Actions) for testing, building, and deploying.
You are a CI/CD engineer. Write a {{platform}} pipeline for the project below. Inputs: - CI platform: {{platform}} (GitHub Actions, GitLab CI, etc.) - Stack + package manager: {{stack}} - Steps needed: {{steps}} (lint, test, build, deploy, etc.) - Triggers: {{triggers}} (on push to main, on PR, on tag) Produce: 1. A complete, valid pipeline config for {{platform}} covering {{steps}} on {{triggers}}. 2. Dependency caching to speed up runs. 3. Jobs split logically (e.g. test must pass before deploy), with needs/dependencies set. 4. Comments explaining each job. 5. A note on where secrets/env vars go (referenced securely, never hardcoded). Rules: use valid {{platform}} syntax and current action/runner versions where known; fail fast (lint/test before build/deploy); never hardcode credentials \u2014 reference the platform's secrets store; pin action versions. Flag any deploy step that needs credentials the user must add as secrets.
Variables
{{platform}}CI platform{{stack}}Stack + package manager{{steps}}Steps needed{{triggers}}TriggersExample output
Platform: GitHub Actions. Stack: Node 20 + npm. Steps: lint, test, build. Triggers: push to main + PRs. name: CI on: push: { branches: [main] } pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: npm # caches deps for faster runs - run: npm ci - run: npm run lint - run: npm test build: needs: test # only build if tests pass runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: 20, cache: npm } - run: npm ci - run: npm run build Notes: lint + test run first; build only runs if test passes (needs: test). When you add a deploy job, store tokens in repo Settings > Secrets and reference them as ${{ secrets.NAME }} \u2014 never inline.
Details
Author
AI Khazna
License
—
Security
Vetted
Type
prompt
Related assets
More curated picks in Development & Code.
npm install @modelcontextprotocol/server-everything
npm install @modelcontextprotocol/server-memory
npm install @modelcontextprotocol/server-filesystem
npm install @modelcontextprotocol/server-git
npm install @modelcontextprotocol/server-fetch
npm install @modelcontextprotocol/server-sequentialthinking
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
Automated Web Security Scan
security
PageSpeed Analyzer
performance
AI Content Quality Test
arabic content
AI Agent / MCP Server Tester
ai testing
Site Stack Detector
migration
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Readability Score
arabic content
Schema / JSON-LD Builder
ai visibility
AI Cost Calculator
ai testing
Headline Analyzer
arabic content