Skip to content

fixup lint and types #2581

fixup lint and types

fixup lint and types #2581

Workflow file for this run

name: Test / Lint
on:
push:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run build
test:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
config:
- { os: macos-latest }
- { os: ubuntu-latest }
- { os: windows-latest }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3
with:
directory: ./coverage/