• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

valkyrjaio / project-template-ts / 30793782843
100%

Build:
DEFAULT BRANCH: 26.x
Ran 03 Aug 2026 07:31AM UTC
Jobs 1
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Aug 2026 07:28AM UTC coverage: 100.0%. Remained the same
30793782843

push

github

web-flow
[Vitest] fix: Ignore the generated coverage directory (#103)

# Description

A coverage run leaves generated files behind that git then offers to
commit.

`vitest.config.ts` writes its report to `.github/ci/vitest/coverage`,
and the `.gitignore` beside it
names `node_modules` only. After `npm run vitest-coverage`, that
directory holds roughly fifteen
untracked files: the lcov data, and an HTML report with its stylesheets,
its scripts, and one page
per source file.

The next `git add -A` stages every one of them. This is not theoretical.
It happened while this
repository's sibling `ci-eslint-ts` was being built, and the copyright
header check is what caught
it, because a generated HTML page carries no license header. A
repository whose header check runs
later, or not at all, commits the report instead.

The report is build output. `dist` is already ignored at the repository
root for the same reason.

## What this pull request verified

- `npm run vitest-coverage` runs, and `git status` afterward reports
**zero** untracked files.
Before this change the same run left the report staged for the next `git
add`.

## Types of changes

- [ ] Improvement _(non-breaking change which improves code)_
- [x] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **`.github/ci/vitest/.gitignore`** — ignores the generated `coverage`
directory

2 of 2 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30793782843.1 03 Aug 2026 07:31AM UTC 1
100.0
GitHub Action Run
Source Files on build 30793782843
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30793782843
  • 24a53ed3 on github
  • Prev Build on 26.x (#30793772942)
  • Next Build on 26.x (#30793964430)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc