Skip to content

playwright

playwright #1

Workflow file for this run

name: playwright
on:
workflow_dispatch: # allows you to run this workflow manually from the Actions tab
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install chromium --with-deps
- name: Run Playwright tests
run: npx playwright test
- name: Publish results
if: ${{ always() }}
run: |-
git config user.name "Automated"
git config user.email "[email protected]"
git add test-results
git commit -m "latest change: $(date -u)" || exit 0
git push