浏览代码

Update cypress-tests.yml

Ryan Chandler 4 年之前
父节点
当前提交
f60c9f597e
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      .github/workflows/cypress-tests.yml

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

@@ -22,3 +22,17 @@ jobs:
           start: yarn pre-cypress
           browser: chrome
           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