Skip to content

Use pw tests

Use pw tests #2

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
defaults:
run:
working-directory: tests/playwright
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:

Check failure on line 19 in .github/workflows/playwright.yaml

View workflow run for this annotation

GitHub Actions / Playwright Tests

Invalid workflow file

The workflow is not valid. .github/workflows/playwright.yaml (Line: 19, Col: 14): Unexpected value '' .github/workflows/playwright.yaml (Line: 20, Col: 9): Unexpected value 'use-public-rspm'
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: 🕸️ Install dependencies
run: npm ci
- name: 🕸️ Install Playwright Browsers
run: npx playwright install --with-deps
- name: 🧪 Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: 🗂️ playwright-report
path: playwright-report/
retention-days: 30