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:
Lukas Eipert 2022-12-13 11:03:19 +01:00
parent 8af15e7962
commit 94efe6c2c4
2 changed files with 2 additions and 2 deletions

View file

@ -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"`

View file

@ -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"