Skip to content

Commit 2a4ed2f

Browse files
committed
ci: add coveralls action
1 parent 3a3d958 commit 2a4ed2f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build-and-test.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ jobs:
2222
npm run bootstrap
2323
npm run build --if-present
2424
npm run lint
25-
npm test
25+
npm test -- --coverage
26+
- name: Coveralls GitHub Action
27+
uses: coverallsapp/github-action@1.1.3
28+
with:
29+
github-token: ${{ secrets.GITHUB_TOKEN }}
2630
env:
2731
CI: true
2832

packages/purgecss/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
![npm](https://img.shields.io/npm/dm/purgecss?style=for-the-badge)
55
![GitHub](https://img.shields.io/github/license/FullHuman/purgecss?style=for-the-badge)
66
![Dependabot](https://img.shields.io/badge/dependabot-enabled-%23024ea4?style=for-the-badge)
7+
[![Coverage Status](https://img.shields.io/coveralls/github/FullHuman/purgecss/main?style=for-the-badge)](https://coveralls.io/github/FullHuman/purgecss?branch=main)
78

89
<p align="center">
910
<img src="https://i.imgur.com/UEiUiJ0.png" height="200" width="200" alt="PurgeCSS logo"/>

0 commit comments

Comments
 (0)