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 23e2c23745..a68bf75be5 100644 --- a/src/Umbraco.Web.UI.Client/.github/workflows/build_test.yml +++ b/src/Umbraco.Web.UI.Client/.github/workflows/build_test.yml @@ -33,3 +33,17 @@ jobs: - run: npm run build - run: sudo npx playwright install-deps - run: npm test + - name: Report code coverage + uses: zgosalvez/github-actions-report-lcov@v1 + with: + coverage-files: coverage/lcov.*.info + minimum-coverage: 90 + artifact-name: code-coverage-report + github-token: ${{ secrets.GITHUB_TOKEN }} + working-directory: apps/my-first-app + - uses: actions/upload-artifact@v2 + if: always() + with: + name: coverage-report + path: coverage/lcov-report/ + retention-days: 30