Skip to content

Commit 3ec4772

Browse files
committed
fix: update node version matrix in CI configuration and enhance test project naming structure in vitest configuration
Signed-off-by: Vladislav Polyakov <[email protected]>
1 parent 1dc55a4 commit 3ec4772

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
node-version: [18, 20, 22]
24+
node-version: [20, 22, 24]
2525

2626
services:
2727
ydb:

vitest.config.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ export default defineConfig({
55
projects: [
66
{
77
test: {
8-
name: 'uni',
8+
name: {
9+
label: 'uni',
10+
color: 'yellow'
11+
},
912
include: ['packages/*/src/**/*.test.ts'],
1013
environment: 'node',
1114
benchmark: {
@@ -15,7 +18,10 @@ export default defineConfig({
1518
},
1619
{
1720
test: {
18-
name: 'int',
21+
name: {
22+
label: 'int',
23+
color: 'blue'
24+
},
1925
include: ['packages/*/tests/**/*.test.ts'],
2026
environment: 'node',
2127
globalSetup: './vitest.setup.ydb.ts',
@@ -26,12 +32,16 @@ export default defineConfig({
2632
},
2733
{
2834
test: {
29-
name: 'e2e',
35+
name: {
36+
label: 'e2e',
37+
color: 'magenta'
38+
},
3039
include: ['e2e/**/*.test.ts'],
3140
environment: 'node',
3241
globalSetup: './vitest.setup.ydb.ts',
3342
testTimeout: 60000,
3443
hookTimeout: 30000,
44+
maxConcurrency: 1,
3545
benchmark: {
3646
include: ['e2e/**/*.bench.ts']
3747
}

0 commit comments

Comments
 (0)