Skip to content

Merge upstream/main — bring in kleintech PRs #16-21, v0.1.0 #1

Merge upstream/main — bring in kleintech PRs #16-21, v0.1.0

Merge upstream/main — bring in kleintech PRs #16-21, v0.1.0 #1

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['20.x', '22.x']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# --ignore-scripts skips the `prepare` hook (which runs `npm run build`).
# Vitest uses esbuild and does not require a prior `tsc` build.
- name: Install dependencies
run: npm install --ignore-scripts
- name: Run tests
run: npm test