Skip to content

Commit 4551ae0

Browse files
committedApr 12, 2024
ci: --passWithNoTests to nx.json
1 parent ab35691 commit 4551ae0

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed
 

‎.github/workflows/bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Test and build
3434
env:
3535
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
36-
run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --passWithNoTests
36+
run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source'
3737
- name: Upload test coverage badge
3838
run: npx nx affected -t upload-badge --parallel=3 --exclude='json-api-front,json-api-server,shared-utils,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source'
3939
- name: Save cached .nx

‎.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Test and build
3131
env:
3232
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
33-
run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc' --passWithNoTests
33+
run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc'
3434
- name: Save cached .nx
3535
id: cache-dependencies-save
3636
uses: actions/cache/save@v4

‎nx.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@
6363
]
6464
},
6565
"test": {
66-
"cache": true
66+
"cache": true,
67+
"options": {
68+
"codeCoverage": true,
69+
"coverageReporters": ["json-summary"]
70+
}
6771
},
6872
"@nx/angular:ng-packagr-lite": {
6973
"cache": true,
@@ -105,7 +109,8 @@
105109
"!json-api-server",
106110
"!json-api-front",
107111
"!shared-utils",
108-
"!database"
112+
"!database",
113+
"!type-for-rpc"
109114
],
110115
"version": {
111116
"conventionalCommits": true

0 commit comments

Comments
 (0)
Please sign in to comment.