feat: upgrade to TypeScript 6.0.3, ES2022 target, and shared ts-config presets #4935
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: Lint, Unit Tests, and Code Analysis | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - main | |
| - 'v[0-9]+.[0-9]+.[0-9]+*beta*' | |
| types: [opened, synchronize] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| check_pr: | |
| runs-on: public | |
| strategy: | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| # Disabling shallow clone is recommended for improving relevancy of reporting | |
| fetch-depth: 0 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'yarn' | |
| cache-dependency-path: 'yarn.lock' | |
| - name: Install && Build - SDK and Sample App | |
| uses: ./.github/actions/install-and-build-sdk | |
| - name: Build SDK | |
| run: yarn build | |
| - name: Lint | |
| run: yarn lint | |
| - name: Typecheck packages and example apps | |
| run: yarn typecheck | |
| - name: Test | |
| # TEMP DIAGNOSTIC (revert after): run all suites in a single process with | |
| # heap logging to classify the flaky worker SIGABRTs. If this run passes, | |
| # the crash needs the 2-worker pool (memory/concurrency). If it still | |
| # aborts, it's a deterministic native/OOM issue and this log pinpoints it. | |
| run: yarn test:coverage --runInBand --logHeapUsage |