Use Node v12 for UI development

This commit is contained in:
Michael Lange 2020-11-02 18:32:37 -08:00
parent 48a260fc33
commit 59626344be
4 changed files with 7 additions and 7 deletions

2
.circleci/config.yml generated
View File

@ -703,7 +703,7 @@ jobs:
docker: docker:
- environment: - environment:
JOBS: 2 JOBS: 2
image: docker.mirror.hashicorp.services/circleci/node:10-browsers image: docker.mirror.hashicorp.services/circleci/node:12-browsers
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:

View File

@ -1,5 +1,5 @@
docker: docker:
- image: docker.mirror.hashicorp.services/circleci/node:10-browsers - image: docker.mirror.hashicorp.services/circleci/node:12-browsers
environment: environment:
# See https://git.io/vdao3 for details. # See https://git.io/vdao3 for details.
JOBS: 2 JOBS: 2

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Install NVM for simple node.js version management # Install NVM for simple node.js version management
curl -sSL --fail -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash curl -sSL --fail -o- https://raw.githubusercontent.com/creationix/nvm/v0.36.0/install.sh | bash
# This enables NVM without a logout/login # This enables NVM without a logout/login
export NVM_DIR="/home/vagrant/.nvm" export NVM_DIR="/home/vagrant/.nvm"
@ -9,9 +9,9 @@ export NVM_DIR="/home/vagrant/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# Install Node, Ember CLI, and Phantom for UI development # Install Node, Ember CLI, and Phantom for UI development
nvm install 10.15.3 nvm install 12
nvm alias default 10.15.3 nvm alias default 12
npm install -g ember-cli npm install -g ember-cli
# Install Yarn for front-end dependency management # Install Yarn for front-end dependency management
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2 curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.5

View File

@ -1 +1 @@
10 12