discourse: migrate to prefetch-yarn-deps

This commit is contained in:
Felix Buehler 2023-11-22 22:32:58 +01:00
parent 2de2b92916
commit be146a1021

View file

@ -35,7 +35,7 @@
, icu , icu
, fetchYarnDeps , fetchYarnDeps
, yarn , yarn
, fixup_yarn_lock , prefetch-yarn-deps
, nodePackages , nodePackages
, nodejs_18 , nodejs_18
, jq , jq
@ -215,6 +215,7 @@ let
nodejs_18 nodejs_18
jq jq
moreutils moreutils
prefetch-yarn-deps
]; ];
outputs = [ "out" "javascripts" ]; outputs = [ "out" "javascripts" ];
@ -252,7 +253,7 @@ let
yarn config --offline set yarn-offline-mirror $yarnOfflineCache yarn config --offline set yarn-offline-mirror $yarnOfflineCache
# Fixup "resolved"-entries in yarn.lock to match our offline cache # Fixup "resolved"-entries in yarn.lock to match our offline cache
${fixup_yarn_lock}/bin/fixup_yarn_lock app/assets/javascripts/yarn.lock fixup-yarn-lock app/assets/javascripts/yarn.lock
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt