Skip to content

Rebuild and Refactor #83

Rebuild and Refactor

Rebuild and Refactor #83

Workflow file for this run

name: CI
on:
pull_request:
workflow_call:
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: npm
- run: npm ci
- run: npm run lint
test:
name: Test
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: npm
- run: npm ci
- run: npm test