diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 55cb445..e4d08fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,9 @@ jobs: - name: Install and test run: npm clean-install-test -- --tldjs-update-rules + - name: Code coverage + uses: coverallsapp/github-action@v2 + - name: Publish on npm if: github.ref_type == 'tag' run: | diff --git a/README.md b/README.md index 6265307..9ff9c19 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# tld.js [![Backers on Open Collective](https://opencollective.com/tldjs/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/tldjs/sponsors/badge.svg)](#sponsors) [![Build Status][badge-ci]](http://travis-ci.org/oncletom/tld.js) ![][badge-downloads] +# tld.js [![Backers on Open Collective](https://opencollective.com/tldjs/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/tldjs/sponsors/badge.svg)](#sponsors) [![Coverage Status](https://coveralls.io/repos/github/thom4parisot/tld.js/badge.svg?branch=master)](https://coveralls.io/github/thom4parisot/tld.js?branch=master) [![tests](https://github.com/thom4parisot/tld.js/actions/workflows/main.yml/badge.svg)](https://github.com/thom4parisot/tld.js/actions/workflows/main.yml) ![][badge-downloads] > `tld.js` is a Node.js module written in JavaScript to work against complex domain names, subdomains and well-known TLDs. @@ -296,7 +296,6 @@ Support this project by becoming a sponsor. Your logo will show up here with a l [MIT License](LICENSE). -[badge-ci]: https://secure.travis-ci.org/oncletom/tld.js.svg?branch=master [badge-downloads]: https://img.shields.io/npm/dm/tldjs.svg [public suffix list]: https://publicsuffix.org/list/