Skip to content

ci: Extend node version matrix and check docs (#25) #43

ci: Extend node version matrix and check docs (#25)

ci: Extend node version matrix and check docs (#25) #43

Workflow file for this run

name: lint and test
on:
push:
pull_request:
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
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test