Initial login page and jam page #2
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 Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install application dependencies | |
run: npm ci | |
- name: Install test dependencies | |
run: npm ci | |
working-directory: tests-e2e | |
- name: Install Playwright browsers | |
run: npx playwright install --with-deps | |
working-directory: tests-e2e | |
- name: Run Playwright tests | |
run: npm test | |
working-directory: tests-e2e | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: tests-e2e/playwright-report | |
path: tests-e2e/playwright-report | |
retention-days: 30 |