File tree 4 files changed +15
-3
lines changed
4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,16 @@ jobs:
32
32
with :
33
33
node-version-file : .nvmrc
34
34
cache : pnpm
35
+ - name : Start Nx Agents
36
+ run : npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
35
37
- name : Install dependencies
36
38
run : pnpm install --frozen-lockfile --prefer-offline
37
39
- name : Get base and head commits for `nx affected`
38
40
uses : nrwl/nx-set-shas@v3
39
41
with :
40
42
main-branch-name : ' main'
41
43
- name : Run Checks
42
- run : pnpm run test:pr
44
+ run : pnpm run test:pr --parallel=3
45
+ - name : Stop Nx Agents
46
+ if : ${{ always() }}
47
+ run : npx nx-cloud stop-all-agents
Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ stats.html
39
39
40
40
* .log
41
41
.DS_Store
42
- node_modules
43
42
.cache
43
+ .pnpm-store
44
44
dist
45
45
.idea
46
46
47
47
nx-cloud.env
48
- .nx
49
48
50
49
.nx /cache
51
50
.tsup
Original file line number Diff line number Diff line change
1
+ distribute-on :
2
+ small-changeset : 8 linux-medium-js
3
+ medium-changeset : 10 linux-medium-js
4
+ large-changeset : 12 linux-medium-js
Original file line number Diff line number Diff line change 52
52
"dependsOn" : [" build" ],
53
53
"inputs" : [" ^public" ],
54
54
"cache" : true
55
+ },
56
+ "test:format" : {
57
+ "cache" : true ,
58
+ "inputs" : [" {workspaceRoot}/**/*" ]
55
59
}
56
60
}
57
61
}
You can’t perform that action at this time.
0 commit comments