Skip to content

chore: use Node 16 in tsconfig.json (#1256) #374

chore: use Node 16 in tsconfig.json (#1256)

chore: use Node 16 in tsconfig.json (#1256) #374

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: 20
- run: npm ci --ignore-scripts
- run: npm run lint
test:
strategy:
matrix:
node-version: [16, 18, 20]
os: [ubuntu-latest, macOS-latest, windows-latest]
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