Skip to content

screenshot

screenshot #4

Workflow file for this run

name: screenshot
on: deployment_status
jobs:
playwright:
runs-on: ubuntu-latest
if: github.event.deployment_status.state == 'success'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npx playwright install --with-deps
- run: npx playwright test
env:
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }}
- uses: actions/upload-artifact@v3
with:
name: playwright-report
path: playwright-report/
- uses: actions/upload-artifact@v3
with:
name: test-results
path: test-results/