1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-11 13:15:28 +03:00

ci: Fix editor tests when coverage is enabled (no-changelog) (#7827)

[Test run
](https://github.com/n8n-io/n8n/actions/runs/7021272455/job/19103012704)
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-11-28 18:04:30 +01:00 committed by GitHub
parent 685ffd7413
commit 2f8cb419df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
node-version: [18.x, 20.5]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3.5.3
@ -48,7 +48,7 @@ jobs:
needs: install-and-build
strategy:
matrix:
node-version: [18.x, 20.5]
node-version: [18.x, 20.x]
with:
ref: ${{ inputs.branch }}
nodeVersion: ${{ matrix.node-version }}
@ -61,7 +61,7 @@ jobs:
needs: install-and-build
strategy:
matrix:
node-version: [18.x, 20.5]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3.5.3
with:

View File

@ -15,7 +15,7 @@ export const vitestConfig = defineVitestConfig({
coverage: {
enabled: true,
provider: 'v8',
reporter: require('../../jest.config.js').coverageReporters,
reporter: process.env.COVERAGE_REPORT === 'true' ? 'text' : 'text-summary',
all: true,
},
}