build: cache yarn downloads

This commit is contained in:
George Rawlinson 2022-06-17 19:09:47 +12:00
parent bb5eb89af3
commit e46326df75
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -57,6 +57,8 @@ for package in "${PACKAGES[@]}"; do
EXTRA_ARGS+=(
--bind-rw /var/cache/javascript/npm:/build/.npm
--bind-rw /var/cache/javascript/pkg-cache:/build/.pkg-cache
--bind-rw /var/cache/javascript/yarn:/build/.cache/yarn
)
fi