Skip to content

Commit d81cf5a

Browse files
authoredFeb 17, 2024··
ci: Run Nx Agents on ci.yml (#44)
* ci: Try running Nx agents on ci.yml * Test * Remove test * Task name
1 parent c4ea388 commit d81cf5a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎.github/workflows/ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,15 @@ jobs:
3535
with:
3636
node-version-file: .nvmrc
3737
cache: pnpm
38+
- name: Start Nx Agents
39+
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
3840
- name: Install dependencies
3941
run: pnpm install --frozen-lockfile --prefer-offline
4042
- 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
4247
- name: Publish
4348
run: |
4449
git config --global user.name 'Tanner Linsley'

0 commit comments

Comments
 (0)
Please sign in to comment.