Browse Source

Update cypress-tests.yml

Ryan Chandler 4 năm trước cách đây
mục cha
commit
f60c9f597e
1 tập tin đã thay đổi với 14 bổ sung0 xóa
  1. 14 0
      .github/workflows/cypress-tests.yml

+ 14 - 0
.github/workflows/cypress-tests.yml

@@ -22,3 +22,17 @@ jobs:
           start: yarn pre-cypress
           start: yarn pre-cypress
           browser: chrome
           browser: chrome
           headless: true
           headless: true
+          
+      - name: Cypress screenshots
+        uses: actions/upload-artifact@v1
+        if: failure()
+        with:
+          name: cypress-screenshots
+          path: cypress/screenshots
+
+      - name: Cypress videos
+        uses: actions/upload-artifact@v1
+        if: always()
+        with:
+          name: cypress-videos
+          path: cypress/videos