Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Develop

Develop #3136

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v2
with:
node-version: 18
cache: "pnpm" # This will enable caching for pnpm
version: 8
- name: Install pnpm
run: npm install -g pnpm
- name: Verify pnpm installation
run: pnpm --version
- name: Install dependencies
run: npx pnpm install --no-frozen-lockfile
- name: Install Playwright Browsers
run: npx pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: npx pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 14