mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
ci: Reduce noisy Codecov PR comments and fix double bundle upload (#26939)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
155b35d39c
commit
88ff772ceb
2 changed files with 4 additions and 2 deletions
|
|
@ -8,7 +8,8 @@ bundle_analysis:
|
|||
|
||||
comment:
|
||||
require_bundle_changes: bundle_increase
|
||||
bundle_change_threshold: 100Kb
|
||||
bundle_change_threshold: 50Kb
|
||||
require_changes: "coverage_drop OR uncovered_patch"
|
||||
|
||||
coverage:
|
||||
status:
|
||||
|
|
|
|||
|
|
@ -203,7 +203,8 @@ const plugins: UserConfig['plugins'] = [
|
|||
}),
|
||||
]
|
||||
: []),
|
||||
...(process.env.CODECOV_TOKEN
|
||||
// Only run on non-release builds to prevent double upload from @vitejs/plugin-legacy
|
||||
...(process.env.CODECOV_TOKEN && !release
|
||||
? [
|
||||
codecovVitePlugin({
|
||||
enableBundleAnalysis: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue