Skip to content

chore: use Node 16 in tsconfig.json #373

chore: use Node 16 in tsconfig.json

chore: use Node 16 in tsconfig.json #373

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci --ignore-scripts
- run: npm run lint
test:
strategy:
matrix:
node-version: [14, 16, 18]
os: [ubuntu-latest, macOS-latest, windows-latest]
# Node.js 14 comes with npm 6 which has issues on Windows
# therefore skipping tests on Windows with Node.js 14
exclude:
- os: windows-latest
node-version: 14
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm --version
- run: npm ci --ignore-scripts
- run: npm test