DevTools Logo

CircleCI Config Generator

CircleCI Config Generator

Build a .circleci/config.yml — jobs with Docker images and run steps, wired into a workflow.

Job 1

.circleci/config.yml

version: 2.1

jobs:
  build:
    docker:
      - image: cimg/node:20.0
    steps:
      - checkout
      - run:
          name: Install
          command: npm ci
      - run:
          name: Test
          command: npm test

workflows:
version: 2
  build-and-test:
    jobs:
      - build
client-side
YAML

Examples

Node build job

Input
job build, image cimg/node:20.0
steps: Install (npm ci), Test (npm test)
Output
version: 2.1
jobs:
  build:
    docker:
      - image: cimg/node:20.0
    steps:
      - checkout
      - run:
          name: Install
          command: npm ci

A job with a Docker image, checkout, and named run steps.

About this tool

The CircleCI Config Generator writes a .circleci/config.yml. Add jobs, each with a Docker image and named run steps, then list the jobs in a workflow. The generator emits the version, jobs, and workflow — nothing is uploaded.

How to use

  1. Add jobs

    Each job has a Docker image and a list of named run steps.

  2. Wire a workflow

    List the jobs that make up the build-and-test workflow.

  3. Copy to .circleci

    Save the file as .circleci/config.yml in your repo.

Use cases

Continuous integration

Define a build job and chain it into a workflow.

Common mistakes

Mistake:Missing checkout.

Fix:CircleCI does not check out your code automatically; the builder always inserts a checkout step.

Frequently asked questions

References & standards