Use yarn to install JS dependencies

Since yarn is part of the image now, we should use it to install JS dependencies.
This commit is contained in:
Ian Matyssik 2017-03-20 21:58:26 +09:00 committed by GitHub
parent 67e9597add
commit a42aadc777

View File

@ -125,7 +125,7 @@ exec_as_git cp ${GITLAB_INSTALL_DIR}/config/gitlab.yml.example ${GITLAB_INSTALL_
exec_as_git cp ${GITLAB_INSTALL_DIR}/config/database.yml.mysql ${GITLAB_INSTALL_DIR}/config/database.yml
# Installs nodejs packages required to compile webpack
npm install
exec_as_git yarn install --production --pure-lockfile
echo "Compiling assets. Please be patient, this could take a while..."
#Adding webpack compile needed since 8.17