Focus on main when content changes #8283
This file contains 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
name: Playwright | |
on: [pull_request] | |
defaults: | |
run: | |
working-directory: playwright | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
env: | |
BASE_URL: ${{ github.event.inputs.base_url }} | |
- run: npm ci | |
- run: npx playwright install-deps | |
- run: npx playwright install | |
- run: npm run test | |