From 4ca18fba652d06ec3249b8bb7024e5ffb5713a82 Mon Sep 17 00:00:00 2001 From: Alexander Shabunevich Date: Sun, 14 Jul 2024 21:31:20 +0300 Subject: [PATCH] ci: remove coverage badge Because of action error --- .github/workflows/build.yml | 49 +++++++++++++++++++------------------ README.md | 1 - 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51a0ca9..dd471af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,8 +8,8 @@ jobs: build: runs-on: ubuntu-latest - outputs: - coverage: ${{ steps.coverage.outputs.value }} + # outputs: + # coverage: ${{ steps.coverage.outputs.value }} steps: - name: Checkout @@ -23,36 +23,37 @@ jobs: - name: Install run: npm ci - - name: Test and Coverage - run: npm run test:coverage + - name: Test + run: npm run test + # run: npm run test:coverage - - name: Parse coverage - uses: sergeysova/jq-action@v2 - id: coverage - with: - cmd: 'jq .total.statements.pct coverage/coverage-summary.json' + # - name: Parse coverage + # uses: sergeysova/jq-action@v2 + # id: coverage + # with: + # cmd: 'jq .total.statements.pct coverage/coverage-summary.json' - name: Upload demo artifact uses: actions/upload-pages-artifact@v3 with: path: ./docs - badge: - runs-on: ubuntu-latest - needs: build + # badge: + # runs-on: ubuntu-latest + # needs: build - steps: - - name: Create badge - uses: schneegans/dynamic-badges-action@v1.6.0 - with: - auth: ${{ secrets.GIST_SECRET }} - gistID: 7f2a04de5e494f9a3820832520ee2562 - filename: badge.json - label: Code Coverage - message: ${{ needs.build.outputs.coverage }}% - valColorRange: ${{ needs.build.outputs.coverage }} - maxColorRange: 100 - minColorRange: 0 + # steps: + # - name: Create badge + # uses: schneegans/dynamic-badges-action@v1.6.0 + # with: + # auth: ${{ secrets.GIST_SECRET }} + # gistID: 7f2a04de5e494f9a3820832520ee2562 + # filename: badge.json + # label: Code Coverage + # message: ${{ needs.build.outputs.coverage }}% + # valColorRange: ${{ needs.build.outputs.coverage }} + # maxColorRange: 100 + # minColorRange: 0 deploy: runs-on: ubuntu-latest diff --git a/README.md b/README.md index f6a509d..6d818d6 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ -