Skip to content

fix: install the Playwright browsers in the CI rather than the postinstall #60

fix: install the Playwright browsers in the CI rather than the postinstall

fix: install the Playwright browsers in the CI rather than the postinstall #60

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
lint:
name: 'lint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.18.1
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run linting
run: pnpm run lint
test:
needs: [lint]
name: 'test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.18.1
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run build
run: pnpm run build
- name: Run integration tests
run: pnpm run test:integration
- name: Run e2e tests
run: pnpm run test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: '**/playwright-report/'
retention-days: 30