Merge pull request #489 from manojmallick/feat/surface-enrichment-488 #945
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: [develop, main] | |
| pull_request: | |
| branches: [develop, main] | |
| jobs: | |
| test: | |
| name: Test (Node ${{ matrix.node }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: ['18', '20', '22'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Bundle integrity (src/ modules present in gen-context.js __factories) | |
| run: node scripts/check-bundle.mjs | |
| - name: Bundle reproducibility (committed gen-context.js == fresh build from src/) | |
| run: node scripts/build-bundle.mjs --check | |
| - name: Metrics single-source-of-truth (latest.json → version.json + README) | |
| run: npm run check:metrics | |
| - name: Run unit tests | |
| run: node test/run.js | |
| - name: Run Python AST extractor tests | |
| run: npm run test:python | |
| - name: Run integration tests | |
| run: node test/integration/all.js |