diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 227666eb..2e68b493 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,17 +7,15 @@ on: jobs: main: - name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0 - with: - number-of-agents: 3 - parallel-commands: | - npx nx-cloud record -- npx nx format:check - parallel-commands-on-agents: | - npx nx affected -t lint --parallel=3 & npx nx affected -t test --parallel=3 --configuration=ci & npx nx affected -t build --parallel=3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: nrwl/nx-set-shas@v3 + - run: npm ci -f - agents: - name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.0 - with: - number-of-agents: 3 + - run: npx nx format:check + - run: npx nx affected -t lint --parallel=3 + - run: npx nx affected -t test --parallel=3 + - run: npx nx affected -t build --parallel=3