Skip to content

CI workflow to use latest LTS release (20.x) #98

CI workflow to use latest LTS release (20.x)

CI workflow to use latest LTS release (20.x) #98

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [lts/Erbium, lts/Fermium, lts/Gallium, lts/Hydrogen, lts/Iron]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- run: npm install
- run: npm run lint
- run: npm run compile
- run: npm test
env:
CI: true