Skip to content

Instantly share code, notes, and snippets.

@myobie
Created May 27, 2020 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myobie/4dd4d847ab79ba4f09799a86b3221261 to your computer and use it in GitHub Desktop.
Save myobie/4dd4d847ab79ba4f09799a86b3221261 to your computer and use it in GitHub Desktop.
Extremely satisfying to have playwright running on all OS's for all browsers
on: [push]
jobs:
lint-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
browser:
- webkit
- firefox
- chromium
name: test
steps:
- uses: actions/checkout@v2
- uses: microsoft/playwright-github-action@v1
- uses: actions/setup-node@v2-beta
with:
node-version: '14'
- run: npm ci
- run: npm test
env:
BROWSER: ${{ matrix.browser }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment