Skip to content

Commit

Permalink
ci: Run Nx Agents on ci.yml (#44)
Browse files Browse the repository at this point in the history
* ci: Try running Nx agents on ci.yml

* Test

* Remove test

* Task name
  • Loading branch information
lachlancollins committed Feb 17, 2024
1 parent c4ea388 commit d81cf5a
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 @@ -35,10 +35,15 @@ jobs:
with:
node-version-file: .nvmrc
cache: pnpm
- name: Start Nx Agents
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Run Tests
run: pnpm run test:ci
run: pnpm run test:ci --parallel=3
- name: Stop Nx Agents
if: ${{ always() }}
run: npx nx-cloud stop-all-agents
- name: Publish
run: |
git config --global user.name 'Tanner Linsley'
Expand Down

0 comments on commit d81cf5a

Please sign in to comment.