This GitHub Action runs Playwright tests.
- Optional: Node.js version to use.
- Default:
18
- Optional: Path to the folder containing Playwright tests.
- Default:
./tests
name: Playwright Tests
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Run Playwright Tests
uses: sumanthtps/playwright-action@<version>
with:
node-version: '18'
retries: 2
workers: 3
project: "projectName"