mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
27 lines
640 B
YAML
27 lines
640 B
YAML
name: Playwright Tests
|
|
on:
|
|
push:
|
|
branches: [ main, master ]
|
|
pull_request:
|
|
branches: [ main, master ]
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '14.x'
|
|
- name: Install dependencies
|
|
run: {{installDepsCommand}}
|
|
- name: Install Playwright
|
|
run: npx playwright install --with-deps
|
|
- name: Run Playwright tests
|
|
run: {{runTestsCommand}}
|
|
- uses: actions/upload-artifact@v2
|
|
if: always()
|
|
with:
|
|
name: playwright-test-results
|
|
path: test-results/
|