feat: enhance CI pipeline with MR UI integrations and cache optimizations
Description
This MR introduces significant improvements to our GitLab CI pipeline to optimize build times and enhance the developer experience during code review.
Key Changes:
-
Pipeline Efficiency:
- Added strict
workflow:rulesto prevent the pipeline from running duplicate jobs on standard branch pushes. It now explicitly targetsmerge_requests,tags, and default branch pushes. - Implemented a
setupstage fornpm ci. The cache policy has been globally changed topull, preventing heavy cache uploads on parallel test/build/lint jobs.
- Added strict
-
GitLab MR Integrations:
- Configured Native Code Coverage (Cobertura XML from Vitest) with inline MR annotations and coverage percentages.
- Added
eslint-formatter-gitlabto surface linting errors as inline Code Quality annotations directly in the MR diff UI.
Related Issue
Closes #[Issue_Number]
Type of Change
-
Core CI/CD Improvement -
Bug fix -
New feature
Edited by Kushal Lagichetty