-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 852 Bytes
/
e2e-tests.yml
File metadata and controls
38 lines (30 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: E2E Tests
on:
push:
branches: [main, next]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e-tests:
name: Run e2e tests
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/action-setup@v3 # @see https://stackoverflow.com/a/74885077/586823
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers
run: pnpm run test:e2e:install
- name: Run Playwright tests
run: pnpm run test:e2e
- uses: daun/playwright-report-summary@v2
with:
report-file: playwright-results.json