Skip to content

Merge pull request #52 from SpaceyaTech/fix/minor-foxes #22

Merge pull request #52 from SpaceyaTech/fix/minor-foxes

Merge pull request #52 from SpaceyaTech/fix/minor-foxes #22

Workflow file for this run

name: lint and test
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 install -g pnpm && pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Lint code
run: pnpm lint
- name: Run unit tests
run: pnpm vitest
- name: Start Vite dev server
run: pnpm exec vite --port 3000 &
- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30