Skip to content

Commit

Permalink
Merge pull request #9334 from hashicorp/b-pin-node-version
Browse files Browse the repository at this point in the history
ui: Pin ui node version
  • Loading branch information
Mahmood Ali authored Nov 12, 2020
2 parents b53638a + e65b27e commit 809b6b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN /tmp/scripts/vagrant-linux-unpriv-ui.sh
COPY ./scripts/release/docker-build-all /tmp/scripts/docker-build-all

# Update PATH with GO bin, yarn, and node
ENV NODE_VERSION=v10.15.3
ENV NODE_VERSION=v12.19.0
ENV GOPATH="/opt/gopath" \
PATH="/home/vagrant/.nvm/versions/node/${NODE_VERSION}/bin:/home/vagrant/bin:/opt/gopath/bin:/home/vagrant/.yarn/bin:/home/vagrant/.config/yarn/global/node_modules/.bin:$PATH"

Expand Down
5 changes: 3 additions & 2 deletions scripts/vagrant-linux-unpriv-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ export NVM_DIR="/home/vagrant/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

# Install Node, Ember CLI, and Phantom for UI development
nvm install 12
nvm alias default 12
# Use exact full version version (e.g. not 12) and update scripts/release/Dockerfile
nvm install 12.19.0
nvm alias default 12.19.0
npm install -g ember-cli

# Install Yarn for front-end dependency management
Expand Down

0 comments on commit 809b6b9

Please sign in to comment.