Skip to content

WIP

WIP #21

Workflow file for this run

name: Node.js CI
on: [push, pull_request]
jobs:
lint:
name: Lint Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: |
npm install
npm run lint
test:
name: Test (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12.22.0', '12', '14.17.0', '14', '16.0.0', '16', '18', '20', '22']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install --force [email protected]
npm test
test-eslint-9:
name: Test (ESLint 9)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: |
npm install --force eslint@9
npm test