Skip to content

Instantly share code, notes, and snippets.

@MarcusFelling
Created December 10, 2021 17:58
Show Gist options
  • Save MarcusFelling/5a7ae9e49252ec64d4bf1d1316db0e9f to your computer and use it in GitHub Desktop.
Save MarcusFelling/5a7ae9e49252ec64d4bf1d1316db0e9f to your computer and use it in GitHub Desktop.
test:
name: "Test site using Playwright"
runs-on: ubuntu-20.04
container: mcr.microsoft.com/playwright:focal
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: |
npm ci
- name: Run Playwright Tests
continue-on-error: false
working-directory: e2e-examples
run: |
HOME=/root npx playwright test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment