ci: install codecov + size-limit bundle gates (Tier-2 quality)#128
Merged
Conversation
- Codecov: free unlimited for public repos. Surfaces coverage delta in PR comments. No account / token needed for public repo uploads. - size-limit: tracks dist/assets/index-*.js + *.css against 350KB / 60KB budgets. Surfaces bundle-size regressions in PR comments. Free for public repos. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
npm ci failed in CI because lockfile was out of sync with package.json. Run npm install locally to regenerate the lock with the new devDeps. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Main bundle currently exceeds 350KB budget (~667KB) and the action's own npx shell loses sight of @size-limit/preset-app at runtime. Flip to required once budget + invocation are tuned. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
size-limit report 📦
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/coverage.yml— uploads vitest coverage to Codecov..github/workflows/size-limit.yml— gatesdist/assets/index-*.js(350KB) and*.css(60KB) per PR.@size-limit/preset-app+size-limitdevDependencies +size-limitconfig block inpackage.json.running: falseskips the runtime perf check (file-size budget only).fail_ci_if_error: falseon Codecov — first install reports, doesn't block.Test plan
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com