diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a436dea63..014428a38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,5 +30,10 @@ jobs: run: npm run lint - name: Test run: npm test + - name: Coveralls + if: matrix.node === 16 + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} - name: TypeScript Test run: npx --package typescript tsc --project test diff --git a/README.md b/README.md index 13f2dba12..5f8199eb8 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ A logger for just about everything. [![Version npm](https://img.shields.io/npm/v/winston.svg?style=flat-square)](https://www.npmjs.com/package/winston) [![npm Downloads](https://img.shields.io/npm/dm/winston.svg?style=flat-square)](https://npmcharts.com/compare/winston?minimal=true) [![build status](https://github.com/winstonjs/winston/actions/workflows/ci.yml/badge.svg)](https://github.com/winstonjs/winston/actions/workflows/ci.yml) +[![coverage status](https://coveralls.io/repos/github/winstonjs/winston/badge.svg?branch=master)](https://coveralls.io/github/winstonjs/winston?branch=master) [![NPM](https://nodei.co/npm/winston.png?downloads=true&downloadRank=true)](https://nodei.co/npm/winston/)