chore(deps): bump typescript from 6.0.3 to 7.0.2 #103
Workflow file for this run
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: JS CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'packages/js/**' | |
| - '.github/workflows/js-ci.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'packages/js/**' | |
| - '.github/workflows/js-ci.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Node ${{ matrix.node }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: ['22', '24'] | |
| defaults: | |
| run: | |
| working-directory: packages/js | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Setup Node.js | |
| uses: ./.github/actions/setup-node-cached | |
| with: | |
| node-version: ${{ matrix.node }} | |
| working-directory: packages/js | |
| - name: Install dependencies | |
| working-directory: . | |
| run: npm install | |
| - name: Build | |
| run: npm run build | |
| - name: Run tests | |
| run: npm test -- --coverage | |
| - name: Upload coverage to Codecov | |
| if: matrix.node == '24' | |
| uses: ./.github/actions/upload-coverage | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: javascript | |
| directory: packages/js/coverage | |
| - name: Typecheck | |
| if: matrix.node == '24' | |
| run: npm run typecheck | |
| # Validates type-level tests (.test-d.ts) via Vitest typecheck | |
| - name: Type-level tests | |
| if: matrix.node == '24' | |
| run: npm run test:typecheck | |
| # Cross-parity ensures JS and PHP produce identical results | |
| - name: Cross-parity tests | |
| if: matrix.node == '24' | |
| run: npm run test:parity | |
| - name: Lint | |
| if: matrix.node == '24' | |
| run: npm run lint | |
| - name: Mutation tests (MSI = 85%) | |
| if: matrix.node == '24' | |
| env: | |
| STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} | |
| run: npm run test:mutation |