Skip to content

Improvements for the GitHub CI workflow #82

Improvements for the GitHub CI workflow

Improvements for the GitHub CI workflow #82

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]
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