Skip to content

Commit bde26a6

Browse files
committed
ci: try fix
1 parent d4006d5 commit bde26a6

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/bump-version.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ jobs:
3030
path: |
3131
.nx
3232
key: ${{ runner.os }}-nx-master
33-
- name: Test and build
33+
- name: Test
3434
env:
3535
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
36-
run: npx nx affected -t test build --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc'
36+
run: npx nx affected -t test --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc'
37+
- name: Build
38+
env:
39+
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
40+
run: npx nx affected -t build --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc'
3741
- name: Upload test coverage badge
3842
run: npx nx affected -t upload-badge --exclude='json-api-front,json-api-server,shared-utils,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc'
3943
- name: Save cached .nx

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ jobs:
2727
.nx
2828
key: ${{ runner.os }}-nx-${{ steps.branch-names.outputs.current_branch }}
2929
- run: git branch --track main origin/master
30-
- name: Test and build
30+
- name: Test
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,type-for-rpc'
33+
run: npx nx affected -t test --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc'
34+
- name: Build
35+
env:
36+
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
37+
run: npx nx affected -t build --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source,type-for-rpc'
3438
- name: Save cached .nx
3539
id: cache-dependencies-save
3640
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)