Files
CleanArchitecture-template/.brain/.agent/skills/engineering-advanced-skills/ci-cd-pipeline-builder/references/gitlab-ci-templates.md
2026-03-12 15:17:52 +07:00

40 lines
476 B
Markdown

# GitLab CI Templates
## Node.js Baseline
```yaml
stages:
- lint
- test
- build
node_lint:
image: node:20
stage: lint
script:
- npm ci
- npm run lint
node_test:
image: node:20
stage: test
script:
- npm ci
- npm test
```
## Python Baseline
```yaml
stages:
- test
python_test:
image: python:3.12
stage: test
script:
- python3 -m pip install -U pip
- python3 -m pip install -r requirements.txt
- python3 -m pytest
```