feat: add artifact upload to cypress test
@@ -46,4 +46,13 @@ jobs:
working-directory: e2e
wait-on: 'http://localhost:8000'
wait-on-timeout: 300
-
+ - uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: cypress-screenshots
+ path: e2e/cypress/screenshots
+ - uses: actions/upload-artifact@v1
+ if: always()
+ with:
+ name: cypress-videos
+ path: e2e/cypress/videos
