This repository was archived by the owner on Aug 29, 2026. It is now read-only.
chore(deps): bump the npm-frontend group across 1 directory with 58 updates #3937
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: MCP Server Test | |
| on: | |
| pull_request_target: # Need access to secrets | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| test-mcp: | |
| runs-on: ubuntu-latest | |
| environment: dev | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Set up Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: '20.x' | |
| cache: 'npm' | |
| cache-dependency-path: 'mcp/package-lock.json' | |
| - name: Install MCP dependencies | |
| run: npm ci | |
| working-directory: mcp | |
| - name: Run all tests with coverage | |
| run: npm run test:coverage | |
| working-directory: mcp | |
| - name: Test MCP server build | |
| run: npm run build | |
| working-directory: mcp | |
| - name: Upload coverage artifact | |
| if: always() | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 | |
| with: | |
| name: mcp-coverage | |
| path: mcp/coverage/ | |
| retention-days: 14 |