use Node 14 on CircleCI

This commit is contained in:
Christopher Willis-Ford 2021-06-02 22:43:07 -07:00
parent 0bfbe0a263
commit 1c4aa2b755

View file

@ -87,6 +87,9 @@ jobs:
git -C ~/app-builder checkout b85740334fec875f5dd8dcd22eb1f729599109db git -C ~/app-builder checkout b85740334fec875f5dd8dcd22eb1f729599109db
make --directory=~/app-builder build make --directory=~/app-builder build
ln -sfv ~/app-builder/dist/app-builder_darwin_amd64/app-builder ./node_modules/app-builder-bin/mac/ 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: - save_cache:
name: Save Homebrew cache name: Save Homebrew cache
paths: paths:
@ -132,6 +135,12 @@ jobs:
echo 'Adding libexec/git-core to PATH...' echo 'Adding libexec/git-core to PATH...'
echo 'For more details see https://github.com/appveyor/ci/issues/2420' 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 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 - checkout
- npm_install: - npm_install:
npmCacheDir: "C:/Users/circleci/AppData/Roaming/npm-cache" npmCacheDir: "C:/Users/circleci/AppData/Roaming/npm-cache"