chore(deps): bump typescript from 5.4.5 to 6.0.3 #55
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: | |
| pull_request: | |
| 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 build | |
| - run: npm test | |
| - run: npm run typecheck | |
| - run: npm run lint | |
| - name: Type-check examples | |
| run: npx tsc --noEmit --esModuleInterop --moduleResolution node --target ES2020 --module ES2020 --skipLibCheck examples/*.ts 2>/dev/null || echo "Example type-check completed (warnings are non-blocking)" | |
| conformance: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build | |
| - name: Start Streamline server | |
| run: docker compose -f docker-compose.test.yml up -d --wait | |
| - name: Wait for health check | |
| run: | | |
| for i in $(seq 1 30); do | |
| if curl -sf http://localhost:9094/health > /dev/null 2>&1; then | |
| echo "Streamline is healthy" | |
| exit 0 | |
| fi | |
| echo "Waiting for Streamline... ($i/30)" | |
| sleep 2 | |
| done | |
| echo "Streamline failed to start" | |
| docker compose -f docker-compose.test.yml logs | |
| exit 1 | |
| - name: Run conformance tests | |
| run: npm run test:conformance | |
| - name: Stop Streamline server | |
| if: always() | |
| run: docker compose -f docker-compose.test.yml down -v |