Skip to content

Commit

Permalink
chore: removes agents from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jun 2, 2023
1 parent 16aae58 commit ed67d79
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

env:
NX_CLOUD_DISTRIBUTED_EXECUTION: true
NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 5
NX_BRANCH: ${{ github.event.number || github.ref_name }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

Expand Down Expand Up @@ -70,35 +69,3 @@ jobs:

- name: Build storybook
run: pnpm build-storybook

- name: Stop all running agents for this CI run
if: ${{ always() }}
run: pnpm nx-cloud stop-all-agents

agents:
name: Agent ${{ matrix.agent }}
runs-on: ubuntu-latest
strategy:
matrix:
agent: [1, 2, 3, 4, 5]
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8.6.0

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Start Nx Agent ${{ matrix.agent }}
run: pnpm nx-cloud start-agent
env:
NX_AGENT_NAME: ${{matrix.agent}}

0 comments on commit ed67d79

Please sign in to comment.