From bad4c93b8ec6bc56b0cb77b9f9ef2c8dce59d275 Mon Sep 17 00:00:00 2001 From: Rob Hogan <2590098+robhogan@users.noreply.github.com> Date: Mon, 19 Sep 2022 15:51:47 +0100 Subject: [PATCH] CircleCI: Use specific Node JS version for Windows --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2cc6315c5fc3ee..c827c6dcb3f139 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,6 +37,7 @@ references: xcode_version: &xcode_version "13.3.1" nodelts_image: &nodelts_image "cimg/node:16.14" nodeprevlts_image: &nodeprevlts_image "cimg/node:14.19" + node_windows_version: &node_windows_version "16.17.0" # ------------------------- # Cache Key Anchors @@ -851,6 +852,7 @@ jobs: - ANDROID_BUILD_VERSION: 31 - ANDROID_TOOLS_VERSION: 31.0.0 - GRADLE_OPTS: -Dorg.gradle.daemon=false + - NODE_WINDOWS_VERSION: *node_windows_version steps: - checkout_code_with_cache @@ -858,8 +860,8 @@ jobs: name: Install Node # Note: Version set separately for non-Windows builds, see above. command: | - nvm install 16 - nvm use 16 + nvm install $env:NODE_WINDOWS_VERSION + nvm use $env:NODE_WINDOWS_VERSION # Setup Dependencies - run: