Skip to content

chore: update build targets #811

chore: update build targets

chore: update build targets #811

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version:
- 18
- 20
- 22
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
cache: npm
- run: npm ci
- run: npx tap 'test/*.js'
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
cache: npm
node-version: 22
- run: npm ci
- run: npm run lint