Files
tidarr/.github/workflows/playwright.yml
cl.st 7a54c3dd76 Refacto api (#903)
* refacto wip

* move from yarn to pnpm

* update api doc

* fix pnpm

* fix ci

* fix express type

* fix api

* front fixes

* fix delete loading
2026-09-21 23:03:57 +02:00

45 lines
1.0 KiB
YAML

name: Playwright Tests
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
name: "Playwright Tests"
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers
run: pnpm --filter tidarr-testing exec playwright install --with-deps chromium
- name: Run Playwright tests
env:
CI: true
run: pnpm --filter tidarr-testing playwright:test
- uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report
path: ./e2e/playwright-report/
retention-days: 30