mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00: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:
committed by
GitHub
parent
685ffd7413
commit
2f8cb419df
6
.github/workflows/ci-master.yml
vendored
6
.github/workflows/ci-master.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x, 20.5]
|
node-version: [18.x, 20.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v3.5.3
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
needs: install-and-build
|
needs: install-and-build
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x, 20.5]
|
node-version: [18.x, 20.x]
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.branch }}
|
ref: ${{ inputs.branch }}
|
||||||
nodeVersion: ${{ matrix.node-version }}
|
nodeVersion: ${{ matrix.node-version }}
|
||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
needs: install-and-build
|
needs: install-and-build
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x, 20.5]
|
node-version: [18.x, 20.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v3.5.3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const vitestConfig = defineVitestConfig({
|
|||||||
coverage: {
|
coverage: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
provider: 'v8',
|
provider: 'v8',
|
||||||
reporter: require('../../jest.config.js').coverageReporters,
|
reporter: process.env.COVERAGE_REPORT === 'true' ? 'text' : 'text-summary',
|
||||||
all: true,
|
all: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user