Build Check
Verify builds succeed before proceeding with tests or deployment.
Build Commands
| Service | Source Build | Docker Build |
|---|---|---|
| API (.NET) | cd src/api && dotnet build | docker build -f src/api/Dockerfile . |
| Web (Next.js) | cd src/web && npm run build | docker build -f src/web/Dockerfile . |
Steps
- •Identify services — Read
azure.yamlor scansrc/for service directories - •Build each service — Run the source build command for each service
- •Capture errors — Collect compilation errors, type errors, and warnings
- •Docker build (if preparing for deployment) — Run Docker build for each Dockerfile
- •Report — Summarize build status per service
Output Format
code
Service: <name> Status: PASS | FAIL Errors: <count> Warnings: <count> Details: - <file>:<line> <error message>
Notes
- •Web (Next.js) requires
output: 'standalone'innext.config.ts - •API uses .NET 10 Minimal API