Skip to content

Add Node.js version 20 to the CI #94

Add Node.js version 20 to the CI

Add Node.js version 20 to the CI #94

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18, 20]
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test