Description: Create a comprehensive CI pipeline configuration (azure-pipelines.yml) to automatically lint, test, and build the backend API on every Pull Request.
Context / Motivation: We must maintain a strict quality gate. Automating test execution guarantees that external GrantFox PRs do not break the API build before maintainers merge them into the main branch.
Acceptance Criteria: - [ ] Define the pipeline stages: Lint, Test, and Build.
Description: Create a comprehensive CI pipeline configuration (
azure-pipelines.yml) to automatically lint, test, and build the backend API on every Pull Request.Context / Motivation: We must maintain a strict quality gate. Automating test execution guarantees that external GrantFox PRs do not break the API build before maintainers merge them into the main branch.
Acceptance Criteria: - [ ] Define the pipeline stages:
Lint,Test, andBuild.eslintandprettierchecks.Technical Pointers: Optimize the pipeline duration by caching the
npmoryarndependency directories between runs. Use a Node.js toolchain task to enforce the correct runtime version across all build agents.