Skip to content

Commit 2e9c609

Browse files
committed
chore: test agents 2
1 parent 666dfc9 commit 2e9c609

File tree

3 files changed

+258
-3
lines changed

3 files changed

+258
-3
lines changed

.github/workflows/ci-agents.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: npm ci
3535

3636
- name: Start Nx Cloud CI run with agents
37-
run: npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build"
37+
run: ./node_modules/.bin/nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build"
3838

3939
# Run format check
4040
- name: Check formatting of affected files
@@ -79,10 +79,10 @@ jobs:
7979
fetch-depth: 0
8080

8181
- name: Start Nx Cloud Agent ${{ matrix.agent }}
82-
run: npx nx-cloud start-agent --with-deps
82+
run: ./node_modules/.bin/nx-cloud start-agent --with-deps
8383

8484
# Optional: Stop agent after completion
8585
- name: Stop Nx Cloud Agent ${{ matrix.agent }}
8686
if: always()
87-
run: npx nx-cloud stop-agent
87+
run: ./node_modules/.bin/nx-cloud stop-agent
8888
continue-on-error: true

package-lock.json

Lines changed: 254 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
"memfs": "^4.5.0",
109109
"minimatch": "^10.0.1",
110110
"moment": "^2.30.1",
111+
"nx-cloud": "^19.1.0",
111112
"pkg-pr-new": "^0.0.54",
112113
"prettier": "^3.4.1",
113114
"react": "18.3.1",

0 commit comments

Comments
 (0)