Skip to content

Add vitest to GitHub actions #1

Add vitest to GitHub actions

Add vitest to GitHub actions #1

Workflow file for this run

name: JavaScript Unit Tests
on:
pull_request:
paths:
- 'src/**'
- '.github/workflows/vitest.yml'
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'latest'
- run: npm ci
- run: npx vitest src/components