Skip to content

code maintenance

code maintenance #11

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: ^20.8
- run: |
npm install
npm run lint
test:
name: Test (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.0.0', '18', '20', '21']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install
npm test