client@2.25.0 #37
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: Analyze code & ingest into MCP | |
| on: | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| analyze-code: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: ./packages/code-analyzer | |
| - name: Run codeAnalyzer script for client | |
| run: npm run codeAnalyzer -- '..\client\tsconfig.json' '@relewise/client' | |
| working-directory: ./packages/code-analyzer | |
| - name: Upload result to API | |
| working-directory: ./packages/code-analyzer | |
| run: | | |
| curl --fail -X PUT http://mcp.relewise.com/IngestDataSource/TypeScript \ | |
| -H "Content-Type: application/json" \ | |
| -H "X-API-KEY: ${{secrets.MCP_INGESTION_API_KEY}}" \ | |
| -d @ingestion-request.json | |
| - name: Run codeAnalyzer script for integrations | |
| run: npm run codeAnalyzer -- '..\integrations\tsconfig.json' '@relewise/integrations' | |
| working-directory: ./packages/code-analyzer | |
| - name: Upload result to API | |
| working-directory: ./packages/code-analyzer | |
| run: | | |
| curl --fail -X PUT http://mcp.relewise.com/IngestDataSource/TypeScript \ | |
| -H "Content-Type: application/json" \ | |
| -H "X-API-KEY: ${{secrets.MCP_INGESTION_API_KEY}}" \ | |
| -d @ingestion-request.json |