File tree 5 files changed +23
-4
lines changed
5 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,15 @@ jobs:
35
35
with :
36
36
node-version-file : .nvmrc
37
37
cache : pnpm
38
+ - name : Start Nx Agents
39
+ run : npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
38
40
- name : Install dependencies
39
41
run : pnpm install --frozen-lockfile --prefer-offline
40
42
- name : Run Tests
41
- run : pnpm run test:ci
43
+ run : pnpm run test:ci --parallel=3
44
+ - name : Stop Nx Agents
45
+ if : ${{ always() }}
46
+ run : npx nx-cloud stop-all-agents
42
47
- name : Publish
43
48
run : |
44
49
git config --global user.name 'Tanner Linsley'
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 3
3
4
4
# dependencies
5
5
node_modules
6
+ package-lock.json
7
+ yarn.lock
6
8
7
9
# builds
8
10
types
@@ -36,9 +38,8 @@ stats.html
36
38
37
39
* .log
38
40
.DS_Store
39
- node_modules
40
41
.cache
41
- dist
42
+ .pnpm-store
42
43
43
44
package-lock.json
44
45
yarn.lock
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 43
43
"inputs" : [" default" , " ^public" ],
44
44
"outputs" : [" {projectRoot}/build" , " {projectRoot}/dist" ],
45
45
"cache" : true
46
+ },
47
+ "test:format" : {
48
+ "cache" : true ,
49
+ "inputs" : [" {workspaceRoot}/**/*" ]
46
50
}
47
51
}
48
52
}
You can’t perform that action at this time.
0 commit comments