Skip to content

Commit

Permalink
ci: replace nyc with c8 to fix module coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jan 19, 2025
1 parent b15c6fe commit 35c0b36
Show file tree
Hide file tree
Showing 4 changed files with 447 additions and 845 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- run: npm run docs:examples && npm run docs:api && ./docs/build-assets.sh
if: contains(github.event.pull_request.title, 'Release')
- run: docker compose up -d --wait
- run: npx nyc npm test
- run: npx nyc report --reporter=text-lcov > coverage.lcov
- run: npx c8 npm test
- run: npx c8 report --reporter=text-lcov > coverage.lcov
- uses: codecov/codecov-action@v4
with:
files: coverage.lcov
Expand Down
18 changes: 3 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
node_modules
/test-results.xml
.tern-port
.tern-project
.dir-locals.el
/dist
/es
/docs/api.md
/docs/api/*
/docs/api
/docs/examples
/docs/public
/docs/docco.css
__pycache__
/.envrc
/yarn-error.log
.idea
/docker-compose.override.yml
/pnpm-debug.log
.vscode/
debug/
.vscode
/coverage
coverage.*
.nyc_output/
/coverage.lcov
/**/package-lock.json
/**/dist
/examples/**/artifacts
Expand Down
Loading

0 comments on commit 35c0b36

Please sign in to comment.