Skip to content

test: switch to node test runner #382

test: switch to node test runner

test: switch to node test runner #382

Workflow file for this run

name: Node CI
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
jobs:
test:
name: Node.js ${{ matrix.version }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: [18, 20, 22]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Run mocha tests
run: npm run test