Skip to content

Commit

Permalink
chore: update upload cypress artifact steps
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpascual committed Aug 1, 2023
1 parent 807e8b6 commit b110e06
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,15 @@ jobs:
wait-on: 'http://localhost:3000'
wait-on-timeout: 120
config-file: cypress.config.js
env:
REACT_APP_USER_EMAIL: ${{ secrets.E2E_TEST_USER_EMAIL }}
REACT_APP_USER_PASSWORD: ${{ secrets.E2E_TEST_USER_PASSWORD }}
- name: Upload Cypress videos
if: failure()
uses: actions/upload-artifact@v3
with:
working-directory: e2e-test-app
name: cypress-videos
path: /home/runner/work/amplify-codegen-ui/amplify-codegen-ui/e2e-test-app/cypress/videos
env:
REACT_APP_USER_EMAIL: ${{ secrets.E2E_TEST_USER_EMAIL }}
REACT_APP_USER_PASSWORD: ${{ secrets.E2E_TEST_USER_PASSWORD }}

functional-tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b110e06

Please sign in to comment.