Created
December 10, 2021 17:58
-
-
Save MarcusFelling/5a7ae9e49252ec64d4bf1d1316db0e9f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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