소스 검색

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