| 1 | name: End-to-end |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [main] |
| 6 | pull_request: |
| 7 | |
| 8 | permissions: |
| 9 | contents: read |
| 10 | |
| 11 | concurrency: |
| 12 | group: e2e-${{ github.ref }} |
| 13 | cancel-in-progress: true |
| 14 | |
| 15 | jobs: |
| 16 | e2e: |
| 17 | name: End-to-end (git, PRs, Actions, passkeys) |
| 18 | runs-on: ubuntu-latest |
| 19 | timeout-minutes: 20 |
| 20 | steps: |
| 21 | - uses: actions/checkout@v4 |
| 22 | - uses: pnpm/action-setup@v4 |
| 23 | - uses: actions/setup-node@v4 |
| 24 | with: |
| 25 | node-version: 22 |
| 26 | cache: pnpm |
| 27 | - run: pnpm install --frozen-lockfile |
| 28 | - run: pnpm -r --if-present build |
| 29 | - run: pnpm --filter @diffinery/app exec playwright install --with-deps chromium |
| 30 | - run: pnpm --filter @diffinery/app e2e |