Lock yarn version to 2.4.2 as berry now points to 3.0.0 and need node 12
This commit is contained in:
parent
62ff05978b
commit
e6d56a972b
1 changed files with 1 additions and 1 deletions
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -38,7 +38,7 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
|
|||
echo "Installing node modules..."
|
||||
cd /var/lib/gitlab
|
||||
runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/.cache'
|
||||
runuser -u ${gitlab_user} -- sh -c 'yarnpkg set version berry'
|
||||
runuser -u ${gitlab_user} -- sh -c 'yarnpkg set version 2.4.2'
|
||||
runuser -u ${gitlab_user} -- sh -c 'if ! grep nodeLinker .yarnrc.yml >/dev/null; then echo "nodeLinker: \"node-modules\"" >>.yarnrc.yml; fi'
|
||||
runuser -u ${gitlab_user} -- sh -c 'yarnpkg install'
|
||||
# Remove write permissions of .yarn-metadata.json files
|
||||
|
|
Loading…
Reference in a new issue