fix: limit test coverage to src directory only

This commit is contained in:
Naoki Oketani
2025-05-03 12:20:53 +00:00
parent 57a99a7ca5
commit 9f4cdf97ce
3 changed files with 11 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- name: Install dependencies and run tests
run: |
npm ci
npm run test -- --run --coverage
npm run test:coverage
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -38,7 +38,7 @@ jobs:
- name: Install dependencies and run tests
run: |
npm ci
npm run test -- --run
npm run test
test: # make sure the action works on a clean machine without building
strategy: