From 03802f0e15760cda0610892070c49da7299a1198 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Tue, 9 Aug 2022 17:19:30 +0200 Subject: [PATCH] rearrange jobs --- .../.github/workflows/build_test.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/.github/workflows/build_test.yml b/src/Umbraco.Web.UI.Client/.github/workflows/build_test.yml index b22b915670..6c9a7f7d86 100644 --- a/src/Umbraco.Web.UI.Client/.github/workflows/build_test.yml +++ b/src/Umbraco.Web.UI.Client/.github/workflows/build_test.yml @@ -33,6 +33,13 @@ jobs: - run: npm run build - run: sudo npx playwright install-deps - run: npm test + - name: Upload Code Coverage reports + uses: actions/upload-artifact@v2 + if: always() + with: + name: code-coverage + path: coverage/ + retention-days: 30 - name: Report code coverage uses: zgosalvez/github-actions-report-lcov@v1 with: @@ -40,9 +47,3 @@ jobs: artifact-name: code-coverage-report github-token: ${{ secrets.GITHUB_TOKEN }} working-directory: ./ - - uses: actions/upload-artifact@v2 - if: always() - with: - name: coverage-report-html - path: coverage/lcov-report/ - retention-days: 30