Skip to content

Configure vitest for react magic motion #4

Configure vitest for react magic motion

Configure vitest for react magic motion #4

Workflow file for this run

name: Run Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: 🗄️ Check out repo
uses: actions/checkout@v3
- name: 🗿 Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.32.9
- name: 🗿 Setup Node.js
uses: actions/setup-node@v3
with:
cache: "pnpm" # Caching dependencies is supported for pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 🧪 Run Vitest
run: pnpm test