Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,41 @@ jobs:

- name: Run accessibility smoke tests
run: pnpm run test:a11y

smoke-test:
name: Smoke Test
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.32.1

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Cache Playwright browsers
uses: actions/cache@v4
id: playwright-cache
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-playwright-

- name: Install Playwright browsers
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: pnpm exec playwright install --with-deps

- name: Run Playwright tests
run: pnpm run test:e2e
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ you may need these additional environment variables. Add them to your local `.en
- [ ] Keep the PR focused on one concern.
- [ ] Run `pnpm lint` and fix reported issues.
- [ ] Run `pnpm test:unit` for unit coverage.
- [ ] Run `pnpm test:e2e` to ensure Playwright smoke tests pass.
- [ ] Run `pnpm build` for the TypeScript/Vite production build.
- [ ] Include screenshots or a short screen recording for visible UI changes.
- [ ] Mention any env vars, migrations, or manual QA steps reviewers need.
Expand Down