Update dependency @typescript/native-preview to v7.0.0-dev.20260505.1 #4687
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: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: | | |
| node -v | |
| corepack -v | |
| - run: npm install -g corepack@0.31.0 # todo: delete if https://github.com/nodejs/corepack/issues/612 is resolved | |
| - run: corepack enable | |
| - run: pnpm install | |
| - run: pnpm build | |
| - run: pnpm lint | |
| - run: pnpm test --reporter=html | |
| - name: upload artifact | |
| uses: actions/upload-artifact@v7 | |
| if: always() | |
| with: | |
| path: html | |
| name: test-report | |
| test-types: | |
| runs-on: ubuntu-latest | |
| name: Test Types with TypeScript ${{ matrix.ts }} | |
| strategy: | |
| matrix: | |
| ts: | |
| - "4.7" | |
| - "4.8" | |
| - "4.9" | |
| - "5.0" | |
| - "5.1" | |
| - "5.2" | |
| - "5.3" | |
| - "5.4" | |
| - "5.5" | |
| - "5.6" | |
| - "5.7" | |
| - "5.8" | |
| - "5.9" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: npm install -g corepack@0.31.0 # todo: delete if https://github.com/nodejs/corepack/issues/612 is resolved | |
| - run: corepack enable | |
| - run: pnpm install | |
| - run: pnpm install typescript@${{ matrix.ts }} | |
| - run: pnpm list typescript | |
| - run: pnpm type-check | |
| - run: pnpm tsgo | |
| are-the-types-wrong: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: npm install -g corepack@0.31.0 # todo: delete if https://github.com/nodejs/corepack/issues/612 is resolved | |
| - run: corepack enable | |
| - run: pnpm install | |
| - run: pnpm arethetypeswrong |