From 341c228572b80378f28439a0315a854bd26ff468 Mon Sep 17 00:00:00 2001 From: Daniel Koch Date: Tue, 19 Apr 2022 15:32:19 +0200 Subject: [PATCH] Save e2e failure screenshots --- .github/workflows/on-pull-request.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index a907f676..eff73a56 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -34,5 +34,12 @@ jobs: - name: Run typecheck, lint and tests ๐Ÿงช run: npm run check + - name: Save e2e failure screenshots ๐Ÿ˜ฑ + uses: actions/upload-artifact@v3 + if: failure() + with: + name: e2e-failure-screenshots + path: test-results + - name: Build artifacts ๐Ÿ—๏ธ run: npm run build