moex-vibe/docs/superpowers/specs/2026-06-13-cicd-design.md
Sergey Krylov d32ca22acd
Some checks failed
CI / lint (pull_request) Failing after 5m47s
CI / test (pull_request) Successful in 9m46s
CI / build (pull_request) Successful in 9m52s
ci: add Gitea Actions pipeline with lint, test, build
2026-06-13 19:57:30 +03:00

47 lines
1.1 KiB
Markdown

# CI/CD Pipeline for MoexVibe
**Date:** 2026-06-13
**Status:** Approved
## Overview
Continuous Integration pipeline using Gitea Actions (GitHub Actions-compatible format) for the MoexVibe monorepo.
## Triggers
- `push` to `main` branch
- `pull_request` into `main` branch
## Pipeline Structure
Three parallel jobs with no interdependencies:
| Job | Commands | Cache |
|---|---|---|
| `lint` | `npm ci``npm run lint``npx prettier --check "**/*.{ts,tsx}"` | npm |
| `test` | `npm ci``npm run test:backend` | npm |
| `build` | `npm ci``npm run build:backend``npm run build:frontend` | npm |
## Runtime
- `runs-on: ubuntu-latest` (Gitea Actions runner)
- Node.js 20
- npm cache via `actions/setup-node` with `cache: 'npm'`
## Configuration File
`.gitea/workflows/ci.yml`
## Project Changes
1. Create `.gitea/workflows/ci.yml`
2. Add `"format:check": "prettier --check \"**/*.{ts,tsx}\""` script to root `package.json`
## Explicitly Excluded
- Deployment (not required)
- Docker image building
- Artifact publishing
- Frontend tests (none exist in project)
- Frontend lint (no config exists)