From 9cbf6926f20ad53ab999a75cf4c51087a944e12d Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Mar 2021 10:28:37 -0700 Subject: [PATCH] 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 --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 838a0ba6..0ed5a853 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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