From 3480ba27b2b637a45c0041dc8582fcd0779a2190 Mon Sep 17 00:00:00 2001 From: Petra Jaros Date: Tue, 28 Jan 2025 12:51:06 -0500 Subject: [PATCH] Use Nx Agents --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 186a39074..aa507e538 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,15 @@ jobs: with: # Fetch full history so `nx affected` can determine what to run fetch-depth: 0 + - uses: pnpm/action-setup@v4 + + - run: pnpm dlx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build" + - uses: actions/setup-node@v4 with: cache: 'pnpm' + - name: Install dependencies run: pnpm install @@ -29,4 +34,4 @@ jobs: - uses: nrwl/nx-set-shas@v4 # Run CI tasks over all affected projects - - run: npx nx affected -t typecheck lint build test depcheck attw + - run: npx nx affected -t typecheck lint test depcheck attw build