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:
parent
61b5c09770
commit
9cbf6926f2
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -44,6 +44,7 @@ jobs:
|
|||||||
yarn --frozen-lockfile
|
yarn --frozen-lockfile
|
||||||
yarn test
|
yarn test
|
||||||
- name: Upload test artifacts
|
- name: Upload test artifacts
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: test-videos
|
name: test-videos
|
||||||
|
Reference in New Issue
Block a user