Skip to content

GitHub Actions YAML Builder

Build GitHub Actions workflow YAML from a form, with Node, Python, Docker and Cloudflare Pages templates, matrix builds and cache steps.

GitHub Actions YAML Builder

Workflow

Triggers

Job 1

Steps

Step 1
Step 2
Step 3
Step 4
Step 5

YAML preview

name: Node.js CI
on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
jobs:
  build:
    runs-on: 'ubuntu-latest'
    steps:
      - name: Checkout code
        uses: 'actions/checkout@v7'
      - name: Setup Node.js
        uses: 'actions/setup-node@v7'
        with:
          node-version: '24'
      - name: Install dependencies
        run: npm ci
      - name: Run tests
        run: npm test
      - name: Build
        run: npm run build

Updated . Provided as is. Check the output before you rely on it in production.

How to use GitHub Actions YAML Builder

  1. 1

    Select workflow trigger

    Check boxes for push, pull request, schedule (cron), or manual dispatch. Set branch filters if needed (e.g., only run on main).

  2. 2

    Build jobs with form configuration

    Add a job (e.g., 'build'), set 'runs-on' (ubuntu-latest, etc.). For each job, click button to add steps: Checkout, Setup Node/Python, Run commands, etc.

  3. 3

    Configure each step's parameters

    For each step, select type from dropdown (run, action, cache, upload-artifact). Fill in step name, command, or action name. Remove steps with X button as needed.

  4. 4

    Set up matrix strategy (optional)

    Enable 'Matrix Strategy' checkbox. Add dimensions: key (e.g., os) with values (ubuntu-latest, windows-latest). Job runs for each combination.

  5. 5

    Copy YAML and commit to repo

    Click 'Copy' to copy generated YAML from right panel. Commit to `.github/workflows/your-workflow.yml`. GitHub automatically runs on trigger events.

Questions and answers

What CI/CD templates are available?
Four templates: Node.js CI (npm ci, test, build), Python CI (pip install and pytest), Docker build and push to Docker Hub, and deploy to Cloudflare Pages with wrangler-action. Each loads into the editor, where you can change or add steps.
Can I set up matrix builds?
Yes, the visual matrix builder lets you define OS × language version combinations. For example, test on ubuntu + macos with Node 18 + 20 simultaneously.
Does it suggest caching configurations?
Not automatically. Add a Cache step to any job to insert actions/cache with your own paths and key; empty fields default to node_modules keyed on the hash of package-lock.json.
Can I add custom actions from the marketplace?
Yes, add any GitHub Action step by specifying the action name and version. The builder includes common actions like checkout, setup-node, and upload-artifact as quick-add options.
Where do I put the generated file?
Save it as .github/workflows/{name}.yml in your repository root. GitHub automatically detects and runs workflows from this directory.
For AI agents: how to call this tool

Machine-readable contract, endpoints and examples. Humans can ignore this section.

Best Path For Builders

Browser workflow

Runs instantly in the browser with private local processing and copy/export-ready output.

Browser Workflow

This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.

/github-actions-builder/

For automation planning, fetch the canonical contract at /api/tool/github-actions-builder.json.