⚙️

Generador de Pipelines CI/CD

Cultiva SaaS API — stack detectado automáticamente · 2 plataformas generadas

✓ node + python detectados GitHub Actions GitLab CI pnpm cache activo

Resumen de generación

2
Lenguajes detectados
3
Etapas de pipeline
2
Plataformas CI/CD
<30s
Tiempo de generación

Flujo del pipeline

🔍
Lint
ESLint + Ruff
🧪
Test
Jest + pytest
📦
Build
tsc compile
🚀
Deploy
gated · manual

Stack detectado — cultiva-saas-api

📋 Señales del repositorio

  • package.json node detectado
  • pnpm-lock.yaml install: frozen-lockfile
  • requirements.txt python detectado
  • go.mod no encontrado
  • Dockerfile no encontrado
  • terraform/*.tf no encontrado

⚡ Comandos generados

  • lint npm run lint
  • lint python3 -m ruff check .
  • test npm test
  • test python3 -m pytest
  • build npm run build
  • pm pnpm install --frozen-lockfile

Pipelines generados

GitHub Actions
.github/workflows/ci.yml
name: CI
on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main, develop]

jobs:
  node-ci:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'
      - run: pnpm install --frozen-lockfile
      - run: npm run lint
      - run: python3 -m ruff check .
      - run: npm test
      - run: python3 -m pytest
      - run: npm run build
  python-ci:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.12'
      - run: python3 -m pip install -U pip
      - run: pip install -r requirements.txt
      - run: python3 -m pytest
GitLab CI
.gitlab-ci.yml
stages:
  - lint
  - test
  - build

node_lint:
  image: node:20
  stage: lint
  script:
    - pnpm install --frozen-lockfile
    - npm run lint
    - python3 -m ruff check .

node_test:
  image: node:20
  stage: test
  script:
    - pnpm install --frozen-lockfile
    - npm test
    - python3 -m pytest

node_build:
  image: node:20
  stage: build
  script:
    - pnpm install --frozen-lockfile
    - npm run build

python_test:
  image: python:3.12
  stage: test
  script:
    - python3 -m pip install -U pip
    - pip install -r requirements.txt
    - python3 -m pytest