Skip to content

test on github supported node versions #3

test on github supported node versions

test on github supported node versions #3

Workflow file for this run

name: Validation
on:
pull_request:
branches: [ main ]
push:
branches: [ master ]
jobs:
test-and-lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Run tests
run: npm test
- name: Run linter
run: npm run lint