refactor: replace hardcoded Matrix event type strings with SDK consta… #930
This file contains hidden or 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: 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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| 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 |