diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d6ff8ee..006b92c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: # Connect your workspace on nx.app and uncomment this to enable task distribution. # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e" targets have been requested - - run: pnpm exec nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" --stop-agents-after="e2e" --with-env-vars="ANDROID_SDK_VERSION,FLUTTER_VERSION,JDK_VERSION" + - run: pnpm exec nx-cloud start-ci-run --distribute-on="3 linux-medium-js-java-flutter" --stop-agents-after="e2e" --with-env-vars="ANDROID_SDK_VERSION,FLUTTER_VERSION,JDK_VERSION" # This line is needed for nx affected to work when CI is running on a PR - run: git branch --track develop origin/develop || exit 0 diff --git a/.nx/workflows/agents.yaml b/.nx/workflows/agents.yaml index 2b99ae69..c4dfe64b 100644 --- a/.nx/workflows/agents.yaml +++ b/.nx/workflows/agents.yaml @@ -1,7 +1,7 @@ launch-templates: linux-medium-js-java-flutter: resource-class: 'docker_linux_amd64/medium' - image: 'ubuntu22.04-node20.9-v2' + image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout uses: 'nrwl/nx-cloud-workflows/v3.5/workflow-steps/checkout/main.yaml' @@ -36,7 +36,12 @@ launch-templates: PATHS: | ~/android/sdk BASE_BRANCH: 'develop' - + - name: Install Pnpm + script: | + pnpm --version + corepack enable + corepack prepare pnpm@latest-9 --activate + pnpm --version - name: Install Node Modules uses: 'nrwl/nx-cloud-workflows/v3.5/workflow-steps/install-node-modules/main.yaml'