Skip to content

feat(docs): More examples added #21

feat(docs): More examples added

feat(docs): More examples added #21

Workflow file for this run

name: Run Vitest Tests
on:
push: # Trigger on push to any branch
pull_request: # Trigger on pull request to any branch
jobs:
vitest:
name: Run Vitest
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20] # Test against multiple Node.js versions
steps:
# Checkout the repository code
- uses: actions/checkout@v4
# Install pnpm
- name: Install pnpm
uses: pnpm/action-setup@v4
# Use Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
# Install dependencies for all packages
- name: Install dependencies
run: pnpm install
# Build all packages except docs
- name: Build all packages
run: pnpm build
# Run Vitest tests
- name: Run Vitest tests
run: pnpm test