Skip to content

changelog

changelog #15

Workflow file for this run

name: Unit Test
on:
push:
branches:
- '**'
paths-ignore:
- '.vscode/**'
- 'benchmark/**'
- 'docs/**'
- 'examples/**'
- '*.md'
pull_request:
branches:
- master
paths-ignore:
- '.vscode/**'
- 'benchmark/**'
- 'docs/**'
- 'examples/**'
- '*.md'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:unit