Skip to content

Commit

Permalink
[#21] Fix artifact upload in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
liamstevens111 committed Mar 8, 2023
1 parent 9929fd1 commit 5059f71
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Test

on: pull_request

env:
REACT_APP_API_ENDPOINT: ${{ secrets.API_ENDPOINT }}
REACT_APP_API_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}
REACT_APP_API_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}

jobs:
test:
name: Run linters and tests
Expand Down Expand Up @@ -34,7 +39,7 @@ jobs:
run: npm run cypress

- name: Upload any cypress failures
- uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-output
Expand Down

0 comments on commit 5059f71

Please sign in to comment.