Initial testing framework

This commit is contained in:
adilallo
2025-08-28 21:17:27 -06:00
parent f9ff2d0c08
commit 165f7f8179
15 changed files with 9400 additions and 60 deletions
+22
View File
@@ -0,0 +1,22 @@
name: CI
on:
push:
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm ci
- run: npx playwright install --with-deps
- name: Unit & integration tests (Vitest)
run: npm test
- name: Storybook a11y (axe via test-runner)
run: npm run test:sb
- name: E2E (Playwright)
run: npm run e2e:serve
- name: Performance (Lighthouse CI)
run: npm run lhci