Add diagnostic step to CI to debug missing dist/test files #7
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, trunk] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-lint-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20, 22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npx tsc --build | |
| - name: Verify build output | |
| run: ls -R packages/*/dist/test/ || true | |
| - run: npx eslint . | |
| - name: Unit tests | |
| run: npm test | |
| - name: E2E tests (sessions) | |
| run: npx tsx --test 'packages/gabbo/test/e2e/sessions.e2e.ts' |