Bump the lint group with 3 updates #131
Workflow file for this run
This file contains 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 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18, 20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: yarn --immutable | |
- run: yarn add -D @types/node@${{ matrix.node-version }} | |
- run: yarn tsc | |
- run: yarn lint --max-warnings=0 | |
- run: yarn test --coverage | |
- uses: codecov/codecov-action@v4 | |
with: | |
flags: "node_${{ matrix.node-version }}" | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |