Skip to content

Commit

Permalink
ci: coverage 툴을 coveralls로 변경 (#59)
Browse files Browse the repository at this point in the history
* ci: coverage 툴을 coveralls로 변경

* ci: max workers만 사용하도록 수정
  • Loading branch information
Coalery authored Feb 19, 2024
1 parent 0471592 commit 2a57ce7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test:cov -- --maxWorkers=100%

- name: Coverage
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './coverage/lcov.info'
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
${{ runner.OS }}-
- run: npm ci
- run: npm run test --maxWorkers=100%
- run: npm run test -- --maxWorkers=100%

0 comments on commit 2a57ce7

Please sign in to comment.