diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index cd5f7117..0af13ba7 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -41,11 +41,9 @@ jobs: uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Publish codeclimate code coverage + - name: Publish Qlty code coverage if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }} - uses: paambaati/codeclimate-action@v9.0.0 - env: - CC_TEST_REPORTER_ID: 5a58ca8fc3a280bcb3e9cc6af2588c2e24608abc50d89d749c4453b5ebbbd31b + uses: qltysh/qlty-action/coverage@v1 with: - coverageLocations: | - ${{github.workspace}}/coverage/lcov.info:lcov + token: ${{ secrets.QLTY_COVERAGE_TOKEN }} + files: coverage/lcov.info diff --git a/README.md b/README.md index 935f4194..4b7fe8ae 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Version](https://img.shields.io/npm/v/website-scraper.svg?style=flat)](https://www.npmjs.org/package/website-scraper) [![Downloads](https://img.shields.io/npm/dm/website-scraper.svg?style=flat)](https://www.npmjs.org/package/website-scraper) [![Node.js CI](https://github.com/website-scraper/node-website-scraper/actions/workflows/node.js.yml/badge.svg)](https://github.com/website-scraper/node-website-scraper) -[![Test Coverage](https://codeclimate.com/github/website-scraper/node-website-scraper/badges/coverage.svg)](https://codeclimate.com/github/website-scraper/node-website-scraper/coverage) +[![Code Coverage](https://qlty.sh/gh/website-scraper/projects/node-website-scraper/coverage.svg)](https://qlty.sh/gh/website-scraper/projects/node-website-scraper) [![Coverage Status](https://coveralls.io/repos/github/website-scraper/node-website-scraper/badge.svg?branch=master)](https://coveralls.io/github/website-scraper/node-website-scraper?branch=master)