ci: upgrade runner to Node 24 and drop npm-latest install #171
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use pnpm | |
| uses: pnpm/action-setup@v2 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Biome | |
| run: pnpm biome ci . | |
| - name: Type Check | |
| run: pnpm typecheck | |
| - name: Test | |
| run: pnpm ci:test | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |