Skip to content

Workflow file for this run

name: lint & test
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
# make this workflow callable from other workflows
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20', '22']
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Node v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm test