Add support for hosting MCP servers in ECS #183
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: API CI | |
| on: | |
| pull_request: | |
| paths: | |
| - 'apps/truvera-api/**' | |
| - 'packages/mcp-shared/**' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| - 'scripts/**' | |
| - '.github/workflows/ci.yml' | |
| - '.github/workflows/ci-server-reusable.yml' | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'apps/truvera-api/**' | |
| - 'packages/mcp-shared/**' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| - 'scripts/**' | |
| - '.github/workflows/ci.yml' | |
| - '.github/workflows/ci-server-reusable.yml' | |
| jobs: | |
| api: | |
| uses: ./.github/workflows/ci-server-reusable.yml | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| with: | |
| job_name: Build and Test API Server | |
| build_script: npm run build:api | |
| test_script: npm run test -- --run | |
| test_working_directory: apps/truvera-api | |
| run_integration_tests: false | |
| integration_test_script: "" | |
| integration_test_working_directory: "" | |
| dockerfile: ./apps/truvera-api/Dockerfile | |
| image_ref: truvera-api-mcp:ci | |
| trivy_results_file: trivy-results.txt | |
| trivy_sarif_file: trivy-results.sarif | |
| trivy_scan_label: API Trivy Image Scan | |
| sarif_category: trivy-container-scan-api | |