diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 4267e66..56c56ce 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -39,11 +39,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: d9841018a6538b102775167be6694d17433a951f694e310fa8807f26fe9e0154 + 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 109bd2a..d71ff00 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ Parse urls from css file [![Downloads](https://img.shields.io/npm/dm/css-url-parser.svg?style=flat)](https://www.npmjs.org/package/css-url-parser) [![Node.js CI](https://github.com/website-scraper/node-css-url-parser/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/website-scraper/node-css-url-parser/) [![Coverage Status](https://coveralls.io/repos/website-scraper/node-css-url-parser/badge.svg)](https://coveralls.io/r/website-scraper/node-css-url-parser) -[![Code Climate](https://codeclimate.com/github/website-scraper/node-css-url-parser/badges/gpa.svg)](https://codeclimate.com/github/website-scraper/node-css-url-parser) +[![Code Coverage](https://qlty.sh/gh/website-scraper/projects/node-css-url-parser/coverage.svg)](https://qlty.sh/gh/website-scraper/projects/node-css-url-parser) +[![Maintainability](https://qlty.sh/gh/website-scraper/projects/node-css-url-parser/maintainability.svg)](https://qlty.sh/gh/website-scraper/projects/node-css-url-parser) ## Installation ```