Skip to content

Commit

Permalink
ci: update launch-template base image and upgrade pnpm to version 9
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Jun 20, 2024
1 parent 7889552 commit 9351b40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 7 additions & 2 deletions .nx/workflows/agents.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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'

Expand Down

0 comments on commit 9351b40

Please sign in to comment.