setup playwright dependencies in GitHub Actions
& nektos/act
this is a tiny wrapper around microsoft/playwright-github-action
.
currently this only brings support for running headless
chromium
inside debian buster
other browsers and "headful" environment contributions are welcome! 😄
this action is only available via @:hash
or @main
versions.
once this action has proper testing I'll use version tags 🙈
# .github/workflows/test.yml
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: leonardodino/setup-playwright@main
- run: yarn --frozen-lockfile
- run: yarn test