mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Update yarn to latest patch
There has been no game-changer, but while we are at it, we can just update it.
This commit is contained in:
parent
8af15e7962
commit
94efe6c2c4
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ set -xeuo pipefail
|
|||
IFS=$'\n\t'
|
||||
|
||||
NODE_INSTALL_VERSION=${1:-18.12.1}
|
||||
YARN_INSTALL_VERSION=${2:-1.22.17}
|
||||
YARN_INSTALL_VERSION=${2:-1.22.19}
|
||||
|
||||
# Map MAJOR.MINOR.patch -> MAJOR.x
|
||||
NODE_MAJOR=`echo $NODE_INSTALL_VERSION | sed -r -e "s/([0-9]+)\.[0-9]+.*/\1\.x/g"`
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ function print_yarn_args() {
|
|||
1.12) YARN_INSTALL_VERSION=1.12.3 ;;
|
||||
1.16) YARN_INSTALL_VERSION=1.16.0 ;;
|
||||
1.21) YARN_INSTALL_VERSION=1.21.1 ;;
|
||||
1.22) YARN_INSTALL_VERSION=1.22.17 ;;
|
||||
1.22) YARN_INSTALL_VERSION=1.22.19 ;;
|
||||
*) fail "Unknown yarn version $1" ;;
|
||||
esac
|
||||
printf -- "--build-arg YARN_INSTALL_VERSION=%s " "$YARN_INSTALL_VERSION"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue