mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-01 17:27:14 +02:00
ci: Fix coverage include/exclude to prevent RolldownErrors (#31206)
This commit is contained in:
parent
2995e018ad
commit
4171821940
|
|
@ -12,8 +12,7 @@ export const createVitestConfig = (options: InlineConfig = {}) => {
|
|||
outputFile: { junit: './junit.xml' },
|
||||
coverage: {
|
||||
enabled: false,
|
||||
include: ['src/**'],
|
||||
exclude: ['**/*.grammar'],
|
||||
include: ['src/**/*.{ts,vue}'],
|
||||
provider: 'v8',
|
||||
reporter: ['text-summary', 'lcov', 'html-spa'],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ export const createBaseInlineConfig = (options: InlineConfig = {}): InlineConfig
|
|||
enabled: true,
|
||||
provider: 'v8',
|
||||
reporter: process.env.CI === 'true' ? 'cobertura' : 'text-summary',
|
||||
include: ['src/**/*'],
|
||||
exclude: ['**/*.grammar'],
|
||||
include: ['src/**/*.ts'],
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user