Skip to content

Commit

Permalink
CircleCI: Use specific Node JS version for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
robhogan committed Sep 19, 2022
1 parent ab5f26b commit bad4c93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -851,15 +852,16 @@ 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

- run:
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:
Expand Down

0 comments on commit bad4c93

Please sign in to comment.