From 12eca4f43f7a9830c388aa5a22d09ef45d30e161 Mon Sep 17 00:00:00 2001 From: Miroslav Jonas Date: Fri, 18 Aug 2023 17:17:04 +0200 Subject: [PATCH] fix: fix ci config --- .github/workflows/actions.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a85b5c555..9d0d36423 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -31,11 +31,11 @@ jobs: node-version: '16' - run: yarn --immutable - run: deno info && deno --version - - run: npx nx affected --target=lint --parallel --max-parallel=3 - - run: npx nx affected --target=build --parallel --max-parallel=3 - - run: npx nx affected --target=test --parallel --max-parallel=2 - - run: npx nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e - - run: npx nx-cloud stop-all-agents + - run: yarn nx affected --target=lint --parallel --max-parallel=3 + - run: yarn nx affected --target=build --parallel --max-parallel=3 + - run: yarn nx affected --target=test --parallel --max-parallel=2 + - run: yarn nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e + - run: yarn nx-cloud stop-all-agents nightly: runs-on: ubuntu-latest if: ${{ github.event_name == 'schedule' }} @@ -56,9 +56,9 @@ jobs: node-version: '16' - run: yarn --immutable - run: deno info && deno --version - - run: npx nx run-many -t=build,test,lint --parallel --max-parallel=3 - - run: npx nx affected -t=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e - - run: npx nx-cloud stop-all-agents + - run: yarn nx run-many -t=build,test,lint --parallel --max-parallel=3 + - run: yarn nx affected -t=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e + - run: yarn nx-cloud stop-all-agents pr: runs-on: ubuntu-latest if: ${{ github.event_name == 'pull_request' }} @@ -78,11 +78,11 @@ jobs: node-version: '16' - run: yarn --immutable - run: deno info && deno --version - - run: npx nx affected --target=lint --parallel --max-parallel=3 - - run: npx nx affected --target=build --parallel --max-parallel=3 - - run: npx nx affected --target=test --parallel --max-parallel=2 - - run: npx nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e - - run: npx nx-cloud stop-all-agents + - run: yarn nx affected --target=lint --parallel --max-parallel=3 + - run: yarn nx affected --target=build --parallel --max-parallel=3 + - run: yarn nx affected --target=test --parallel --max-parallel=2 + - run: yarn nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e + - run: yarn nx-cloud stop-all-agents agents: runs-on: ubuntu-latest name: Agent 1 @@ -103,4 +103,4 @@ jobs: node-version: '16' - run: yarn --immutable - name: Start Nx Agent ${{ matrix.agent }} - run: npx nx-cloud start-agent + run: yarn nx-cloud start-agent