Skip to content

Commit

Permalink
Use Nx Agents
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeja committed Jan 28, 2025
1 parent d35844c commit 3480ba2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,20 @@ 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

# Set the base and head that `nx affected` will use
- 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

0 comments on commit 3480ba2

Please sign in to comment.