From 1c4aa2b7555218f98f9c7efb4d2db54a3773fa0a Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Wed, 2 Jun 2021 22:43:07 -0700 Subject: [PATCH] use Node 14 on CircleCI --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ba369a..5b59e56 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -87,6 +87,9 @@ jobs: git -C ~/app-builder checkout b85740334fec875f5dd8dcd22eb1f729599109db make --directory=~/app-builder build ln -sfv ~/app-builder/dist/app-builder_darwin_amd64/app-builder ./node_modules/app-builder-bin/mac/ + - run: + name: Upgrade to Node 14 + command: brew install node@14 - save_cache: name: Save Homebrew cache paths: @@ -132,6 +135,12 @@ jobs: echo 'Adding libexec/git-core to PATH...' echo 'For more details see https://github.com/appveyor/ci/issues/2420' echo 'export PATH="$PATH:/c/Program Files/Git/mingw64/libexec/git-core"' >> $BASH_ENV + - run: + # nvm for Windows doesn't accept partial version numbers, so specify exact :( + name: Upgrade to Node 14.17.0 + command: | + nvm install 14.17.0 + nvm use 14.17.0 - checkout - npm_install: npmCacheDir: "C:/Users/circleci/AppData/Roaming/npm-cache"