Skip to content

tests: remove support for nodejs 12 #45

tests: remove support for nodejs 12

tests: remove support for nodejs 12 #45

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: [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