diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e20a1b..d87f975 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,3 +29,14 @@ jobs: working-directory: ./e2e start: npm start wait-on: http://localhost:3000 + # Store tests runs in case of failure + - uses: actions/upload-artifact@v4 + if: failure() + with: + name: cypress-screenshots + path: cypress/screenshots + - uses: actions/upload-artifact@v4 + if: failure() + with: + name: cypress-videos + path: cypress/videos