Skip to content

Update GitHub Actions #104

Update GitHub Actions

Update GitHub Actions #104

Workflow file for this run

name: Test
on:
push:
branches:
- "main"
pull_request:
jobs:
main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "${{ matrix.node-version }}"
cache: "npm"
- run: npm ci --no-audit
- run: npm run build
- run: npx vitest
- run: node benchmark.js