chore: fix tsc #7
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: Validate code | |
| on: [push, pull_request] | |
| permissions: { contents: read, packages: read } | |
| jobs: | |
| testAndBuild: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 2 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: | |
| - "22.6" # earliest in LTS that natively supports --experimental-strip-types | |
| - "22.x" # latest LTS | |
| - "23.x" # Latest current | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: ⏬ Install dependencies | |
| run: yarn install | |
| - name: ✅ Run tests | |
| run: yarn test | |
| - name: 🏗 Run build | |
| run: yarn build | |