Skip to content

added e2e tests to ci #2

added e2e tests to ci

added e2e tests to ci #2

name: Playwright Tests

Check failure on line 1 in .github/workflows/playwright-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/playwright-tests.yml

Invalid workflow file

`pull-request` is not a valid event name
on: pull-request
jobs:
playwright:
name: 'Playwright Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.46.1-jammy
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run your tests
run: npx playwright test
env:
HOME: /root