commit 538ace64cbfafede553f42f622ec5bd0c629043a parent 3bea568da8db7f9ae6912aaaafc19624af2bedf5 Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 16 May 2023 16:28:26 +0200 Report coverage Diffstat:
| M | .github/workflows/storybook-tests.yml | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/storybook-tests.yml b/.github/workflows/storybook-tests.yml @@ -33,3 +33,13 @@ jobs: "echo \"Starting test\" && npx wait-on -l tcp:127.0.0.1:6006 && npm run test-storybook -- --coverage --browsers firefox chromium" - name: Build lcov.info run: npx nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook + - name: Report code coverage + uses: zgosalvez/github-actions-report-lcov@v3 + with: + coverage-files: coverage/storybook/lcov.info + # TODO: We want to later on reach 80-90% coverage but for now we allow any coverage + #minimum-coverage: 90 + artifact-name: code-coverage-report + github-token: ${{ secrets.GITHUB_TOKEN }} + working-directory: apps/my-first-app + update-comment: true