Skip to content

Commit

Permalink
refactor: add coverage report (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixmen authored Dec 20, 2024
1 parent 3abb549 commit bd4935b
Show file tree
Hide file tree
Showing 5 changed files with 538 additions and 9 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,8 @@ jobs:
- name: Install packages
run: npm ci

- name: Check compile error
run: npm run test:type

- name: Check lint error
run: npm run lint

- name: Run unit test
run: npm run test:unit
- name: Run test
run: npm run test:cov

- name: Check file changes
run: |
Expand All @@ -42,3 +36,8 @@ jobs:
git status --short
git diff
git diff --quiet
- name: Coveralls
uses: coverallsapp/github-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.DS_Store
*.tsbuildinfo
coverage
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![npm version](https://badge.fury.io/js/korean-business-day.svg)](http://badge.fury.io/js/korean-business-day)
[![npm version](https://badge.fury.io/js/korean-business-day.svg)](https://badge.fury.io/js/korean-business-day)
![test](https://github.com/croquiscom/korean-business-day/workflows/test/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/croquiscom/korean-business-day/badge.svg?branch=main)](https://coveralls.io/github/croquiscom/korean-business-day?branch=main)

korean-business-day는 영업일(한국 기준) 계산을 도와주는 모듈입니다.

Expand Down
Loading

0 comments on commit bd4935b

Please sign in to comment.