Skip to content

feat: enhance CI pipeline with MR UI integrations and cache optimizations

Kushal Lagichetty requested to merge feat/lint-pipeline into main

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:rules to prevent the pipeline from running duplicate jobs on standard branch pushes. It now explicitly targets merge_requests, tags, and default branch pushes.
    • Implemented a setup stage for npm ci. The cache policy has been globally changed to pull, preventing heavy cache uploads on parallel test/build/lint jobs.
  • GitLab MR Integrations:
    • Configured Native Code Coverage (Cobertura XML from Vitest) with inline MR annotations and coverage percentages.
    • Added eslint-formatter-gitlab to 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

Merge request reports

Loading