Skip to content

Commit

Permalink
fix(scripts): install LTS node on centos during build (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbash authored Feb 1, 2019
1 parent a45637b commit c8b6990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ compile: ## Build the application

clean: ## Clean up generated artifacts
@rm -rf \
_build \
assets/node_modules \
assets/elm-stuff \
priv/graphql \
Expand Down
4 changes: 2 additions & 2 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function do_install(){
unzip /tmp/Precompiled.zip -d /usr/local

echo "==> Installing git, node, npm"
yum install -y git nodejs npm --enablerepo=epel
npm cache clean
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum install -y git nodejs --enablerepo=epel
}

function do_pre_build(){
Expand Down

0 comments on commit c8b6990

Please sign in to comment.