Skip to content

chore: migrate to vitest #251

chore: migrate to vitest

chore: migrate to vitest #251

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["20.x", "21.x", "22.x"] # Updated to include Node.js 22.x
name: Node.js ${{ matrix.node-version }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:all