diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b6fb7f83..22385b52 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -49,7 +49,7 @@ jobs: uses: jaywcjlove/coverage-badges-cli@main with: source: packages/${{ matrix.package }}/coverage/coverage-summary.json - output: packages/${{ matrix.package }}/coverage/${{ matrix.package }}-badge.svg + output: packages/${{ matrix.package }}/coverage/badge.svg - name: Upload coverage report to artifact uses: actions/upload-artifact@v3 diff --git a/README.md b/README.md index 61375882..f95db90a 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,19 @@ NPM Commitizen friendly + + coverage +

-https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AElfProject/aelf-web-login/feature/badge-json/release-refactor-3.0.0-base-test-results.json - -| Branch | GitHub Actions | Tests | Coverage | + + +| package | Tests | Coverage | +| --- | --- | --- | +| @aelf-web-login/utils | ![GitHub Workflow Test Status](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AElfProject/aelf-web-login/feature/badge-json/feature-badge-new-utils-test-results.json) | [![Coverage](https://aelfproject.github.io/aelf-web-login/coverage-base/badge.svg)](https://github.com/AElfProject/aelf-web-login/actions) | +| @aelf-web-login/base | ![GitHub Workflow Test Status](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AElfProject/aelf-web-login/feature/badge-json/feature-badge-new-base-test-results.json) | [![Coverage](https://aelfproject.github.io/aelf-web-login/coverage-base/badge.svg)](https://github.com/AElfProject/aelf-web-login/actions) | # Install