|
|
---
|
|
|
title: CI/CD Pipeline
|
|
|
---
|
|
|
## CI/CD Pipelines
|
|
|
|
|
|
FormMaster uses GitLab CI/CD to integrate code changes continuously. The pipeline is optimized for merge request validation and is structured into two primary stages: **linting** and **testing**.
|
|
|
|
|
|
## Pipeline Stages
|
|
|
|
|
|
- **lint**: Validates code quality and formatting using the project's defined linting rules.
|
|
|
- **test**: Executes unit and integration tests to ensure correctness of the application.
|
|
|
|
|
|
### Notes
|
|
|
|
|
|
- The pipeline runs only on merge requests to maintain efficiency and avoid unnecessary runs on non-critical branches.
|
|
|
- `node_modules/` is cached per branch to speed up installation during pipeline execution.
|
|
|
- The environment variable `NODE_ENV` is set to `development` to ensure consistent behavior during CI runs. |
|
|
\ No newline at end of file |