Files
Sable/.github/workflows/e2e.yml
T

39 lines
899 B
YAML

name: End-to-end tests
on:
pull_request:
push:
branches: [dev]
merge_group:
jobs:
e2e:
name: Playwright
runs-on: ubuntu-latest
if: github.head_ref != 'release'
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup app
uses: ./.github/actions/setup
- name: Run Playwright tests
run: pnpm run test:e2e:docker
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Upload report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: playwright-report
path: |
playwright-report
test-results
retention-days: 7