GitLab CI YAML Generator

100% Client-Side Private

Visual pipeline builder for .gitlab-ci.yml with stages, caching, and dind container builds

CI/CD Pipeline Presets

Global Image & Pipeline Stages

linttestbuilddeploy

Pipeline Jobs (4)

1
2
3
4
Generated .gitlab-ci.yml
# GitLab CI/CD Pipeline Configuration
# Generated by MiniToolDesk (https://minitooldesk.com/tools/gitlab-ci-generator/)

image: node:20-alpine

stages:
  - lint
  - test
  - build
  - deploy

variables:
  NPM_CONFIG_CACHE: ".npm"

cache:
  key: "$CI_COMMIT_REF_SLUG"
  paths:
    - node_modules/
    - .npm/

lint-code:
  stage: lint
  before_script:
    - npm ci
  script:
    - npm run lint

unit-tests:
  stage: test
  before_script:
    - npm ci
  script:
    - npm test -- --coverage
  artifacts:
    paths:
      - coverage/
    expire_in: 7 days

build-app:
  stage: build
  before_script:
    - npm ci
  script:
    - npm run build
  artifacts:
    paths:
      - dist/
    expire_in: 30 days

deploy-production:
  stage: deploy
  script:
    - echo "Deploying production build..."
    - ./scripts/deploy.sh
  rules:
    - if: $CI_COMMIT_BRANCH == "main"

GitLab CI/CD Validated

Save as .gitlab-ci.yml in your repository root and push to trigger pipeline runs.

Pin this tool to your browser side panel

Access this utility anytime with Alt+M without switching tabs. 100% offline & free.

Get Extension

How to build GitLab CI/CD pipelines visually

  1. 1Set your base Docker runner image and pipeline stages (lint, test, build, deploy).
  2. 2Choose an architecture preset or add jobs with custom script execution commands.
  3. 3Configure dependency caching and artifacts retention paths.
  4. 4Copy or download .gitlab-ci.yml directly into your Git repository root.

Robust DevOps CI/CD Workflows

Generates GitLab CI YAML conforming to official GitLab Runner schemas with zero server dependency.

Frequently Asked Questions

Enjoying GitLab CI YAML Generator?Help your engineering peers discover private, ad-free tools!

MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.

Related Developer Utilities