Skip to content

Commit 9cbf692

Browse files
committed
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
1 parent 61b5c09 commit 9cbf692

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
yarn --frozen-lockfile
4545
yarn test
4646
- name: Upload test artifacts
47+
if: always()
4748
uses: actions/upload-artifact@v2
4849
with:
4950
name: test-videos

0 commit comments

Comments
 (0)