Skip to content

use node16 module resolution explicitly #107

use node16 module resolution explicitly

use node16 module resolution explicitly #107

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: ['18', '20', '22']
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