Skip to content

chore: update project (ssr deploy bugs) #1

chore: update project (ssr deploy bugs)

chore: update project (ssr deploy bugs) #1

Workflow file for this run

name: Vitest Component + Unit Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Run Vitest
run: npx vitest --coverage.enabled true
- name: Report Coverage
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in your vite config as specified above
if: always()
uses: davelosert/vitest-coverage-report-action@v2