Skip to content

Commit 66915cc

Browse files
committed
ci: fix upload coverage badge again
1 parent c27d06e commit 66915cc

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

libs/json-api/json-api-nestjs-microorm/project.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@
3737
"updateBuildableProjectDepsInPackageJson": true
3838
}
3939
},
40+
"test": {
41+
"executor": "@nx/jest:jest",
42+
"outputs": [
43+
"{workspaceRoot}/coverage/{projectRoot}"
44+
],
45+
"options": {
46+
"jestConfig": "{projectRoot}/jest.config.ts",
47+
"codeCoverage": true,
48+
"coverageReporters": [
49+
"json-summary"
50+
]
51+
}
52+
},
4053
"upload-badge": {
4154
"executor": "nx:run-commands",
4255
"dependsOn": [

libs/json-api/json-api-nestjs-sdk/project.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,19 @@
8989
"parallel": false
9090
}
9191
},
92+
"test": {
93+
"executor": "@nx/jest:jest",
94+
"outputs": [
95+
"{workspaceRoot}/coverage/{projectRoot}"
96+
],
97+
"options": {
98+
"jestConfig": "{projectRoot}/jest.config.ts",
99+
"codeCoverage": true,
100+
"coverageReporters": [
101+
"json-summary"
102+
]
103+
}
104+
},
92105
"upload-badge": {
93106
"executor": "nx:run-commands",
94107
"dependsOn": [

0 commit comments

Comments
 (0)