fix(ci): always upload test artifacts

Before this commit, if the tests fail then the artifacts don't get uploaded.
This makes it harder to debug failing e2e tests.

To prevent this, this commit adds an "if" condition which says always run this
step.

Source: https://stackoverflow.com/a/58859404/3015595
This commit is contained in:
Joe Previte 2021-03-05 10:28:37 -07:00
parent 61b5c09770
commit 9cbf6926f2
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -44,6 +44,7 @@ jobs:
yarn --frozen-lockfile
yarn test
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v2
with:
name: test-videos