Repository navigation
fix: support TypeScript 7 declaration checks #76
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: tests | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| testing: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| node-version: [24.x, 26.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Environment (Using NodeJS ${{ matrix.node-version }}) | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Linting | |
| run: npm run lint | |
| - name: Check TypeScript declarations | |
| run: npm run test:types | |
| - name: Run tests | |
| run: npm run test | |
| - name: Run performance smoke test | |
| run: npm run bench:ci | |
| - name: Audit production dependencies | |
| run: npm audit --omit=dev |