From 23e2989ae368c37d5c1d00b4a2af101f5680161c Mon Sep 17 00:00:00 2001 From: Clemens Solar Date: Mon, 22 Jan 2024 22:04:13 +0100 Subject: [PATCH] ci: upload screenshots of e2e tests --- .github/workflows/ghpage.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ghpage.yml b/.github/workflows/ghpage.yml index e693dc0..52d0b0c 100644 --- a/.github/workflows/ghpage.yml +++ b/.github/workflows/ghpage.yml @@ -51,11 +51,17 @@ jobs: uses: cypress-io/github-action@v6 with: browser: chrome - headless: true start: npm run test:e2e:ci wait-on: 'http://localhost:8000' wait-on-timeout: 120 + - name: Upload screenshots + uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-screenshots + path: cypress/screenshots + # Single deploy job since we're just deploying deploy: environment: