Skip to content

update deprecated actions and add note about using node v22 #98

update deprecated actions and add note about using node v22

update deprecated actions and add note about using node v22 #98

Workflow file for this run

name: CI
on: [push, pull_request]
env:
TERM: xterm
jobs:
test:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
# node v22 cannot be added to this list until this issue is solved otherwise it causes SEGV
# https://github.com/nodejs/node/issues/52797
node: ['16', '18', '20']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm test
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- run: npm ci
- run: npm run lint