-
Notifications
You must be signed in to change notification settings - Fork 15
33 lines (31 loc) · 958 Bytes
/
e2e-test-pr.yml
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
name: Test E2E on pull request
on: pull_request
jobs:
e2e-pr:
name: E2E on pull request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd e2e
echo ::group::build
make server compose-args="--detach"
make wait-server
echo ::endgroup::build
make ci-no-record
make run run-cmd="npm run lint" make-args="no-interactive no-tty"
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: failure()
with:
name: e2e-screenshots
path: e2e/cypress/screenshots
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: failure()
with:
name: e2e-snapshots
path: e2e/cypress/snapshots
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: failure()
with:
name: e2e-videos
path: e2e/cypress/videos