mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Update to yarn 1.21.1
Last year there was a recommended security update: https://classic.yarnpkg.com/blog/2019/07/12/recommended-security-update/ This updates yarn to the latest stable version
This commit is contained in:
parent
0ca8b407cc
commit
034a8bd568
5 changed files with 28 additions and 27 deletions
|
|
@ -3,7 +3,7 @@ set -xeuo pipefail
|
|||
IFS=$'\n\t'
|
||||
|
||||
NODE_INSTALL_VERSION=${1:-12.4.0}
|
||||
YARN_INSTALL_VERSION=${2:-1.16.0-1}
|
||||
YARN_INSTALL_VERSION=${2:-1.21.1-1}
|
||||
|
||||
# Map MAJOR.MINOR.patch -> MAJOR.x
|
||||
NODE_MAJOR=`echo $NODE_INSTALL_VERSION | sed -r -e "s/([0-9]+)\.[0-9]+.*/\1\.x/g"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue