Skip to content

Commit

Permalink
README: update coverage URL (#43)
Browse files Browse the repository at this point in the history
* README: move URLs into badges
  • Loading branch information
msimerson committed Mar 14, 2022
1 parent 4e52130 commit 3aa1fea
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
env:
NODE_ENV: cov

- name: Coveralls Report
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}

- name: Codecov Report
uses: codecov/codecov-action@v2
with:
name: codecov-umbrella
files: ./coverage.lcov

- name: Coveralls Report
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}

- name: CodeClimate Reporter
uses: paambaati/codeclimate-action@v3.0.0
env:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,19 @@ jobs:
node-version: [ 16.x ]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
name: Checkout Code
with:
fetch-depth: 1

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
name: Use Node.js ${{ matrix.node-version }}
with:
node-version: ${{ matrix.node-version }}

- name: npm install
run: npm install

- name: Run lintfix to catch errors caused by prettier
run: npm run lintfix

- name: Lint using eslint
run: npm run lint

Expand Down
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status][ci-image]][ci-url]
[![Coverage Status][cov-img]][cov-url]
[![NPM][npm-image]][npm-url]
[![Build Status](https://github.com/msimerson/maxmind-geolite-mirror/actions/workflows/ci-test.yml/badge.svg)](https://github.com/msimerson/maxmind-geolite-mirror/actions/workflows/ci-test.yml)
[![Coverage Status](https://coveralls.io/repos/github/msimerson/maxmind-geolite-mirror/badge.svg?branch=master)](https://coveralls.io/github/msimerson/maxmind-geolite-mirror?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/1d989637c36373336fa3/maintainability)](https://codeclimate.com/github/msimerson/maxmind-geolite-mirror/maintainability)


# maxmind-geolite-mirror
Expand Down Expand Up @@ -52,11 +52,8 @@ Contributions are welcome and appreciated. Please keep in mind the following:
- Carl Banbury
- Tom Lee

### badges

[ci-image]: https://github.com/msimerson/maxmind-geolite-mirror/actions/workflows/ci-test.yml/badge.svg
[ci-url]: https://github.com/msimerson/maxmind-geolite-mirror/actions/workflows/ci-test.yml
[cov-img]: https://codecov.io/github/msimerson/maxmind-geolite-mirror/coverage.svg?branch=master
[cov-url]: https://codecov.io/github/msimerson/maxmind-geolite-mirror?branch=master
[npm-image]: https://nodei.co/npm/maxmind-geolite-mirror.png?downloads=true&stars=true
[npm-url]: https://nodei.co/npm/maxmind-geolite-mirror/
### NPM

[![NPM](https://nodei.co/npm/maxmind-geolite-mirror.png?downloads=true&stars=true)](https://nodei.co/npm/maxmind-geolite-mirror/)

0 comments on commit 3aa1fea

Please sign in to comment.