Skip to content

Enhance favorite airlines management #150

Enhance favorite airlines management

Enhance favorite airlines management #150

Workflow file for this run

name: Tests
on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- '.github/ISSUE_TEMPLATE/**'
- 'docs/**'
- 'LICENSE'
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
- '.github/ISSUE_TEMPLATE/**'
- 'docs/**'
- 'LICENSE'
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps chromium
- name: Run unit tests
run: pnpm run test:unit
- name: Run e2e tests
run: pnpm run test:e2e
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 30