File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+
9
+ # Needed for nx-set-shas within nx-cloud-main.yml, when run on the main branch
10
+ permissions :
11
+ actions : read
12
+ contents : read
13
+
14
+ jobs :
15
+ main :
16
+ name : Nx Cloud - Main Job
17
+ uses : nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.1
18
+ with :
19
+ main-branch-name : main
20
+ number-of-agents : 3
21
+ init-commands : |
22
+ yarn nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
23
+ parallel-commands : |
24
+ yarn nx-cloud record -- yarn nx format:check
25
+ parallel-commands-on-agents : |
26
+ yarn nx affected --target=lint --parallel=3
27
+ yarn nx affected --target=test --parallel=3 --ci --code-coverage
28
+ yarn nx affected --target=build --parallel=3
29
+
30
+ agents :
31
+ name : Nx Cloud - Agents
32
+ uses : nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.1
33
+ with :
34
+ number-of-agents : 3
You can’t perform that action at this time.
0 commit comments