Merge v3.8.0: first-party MCP server, preprint search, CI/lint harden… #30
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run typecheck | |
| - run: npm run lint | |
| - run: npm run build | |
| env: | |
| # Build succeeds without real keys; routes are lazy at runtime. | |
| MINIMAX_API_KEY: ci-placeholder | |
| - name: Engine E2E (offline, no server) | |
| run: npm run test:engines | |
| - name: Start server and smoke test | |
| run: | | |
| npm start & | |
| for i in $(seq 1 30); do | |
| curl -sf http://localhost:3000/api/status && break | |
| sleep 2 | |
| done | |
| BASE_URL=http://localhost:3000 npm run test:smoke | |
| BASE_URL=http://localhost:3000 npm run test:auth |