1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Force yarnrc file

This commit is contained in:
tituspijean 2022-09-11 19:07:56 +02:00
parent 0263d9d5c8
commit 4e28036864
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 4 additions and 4 deletions

View file

@ -166,8 +166,8 @@ chown $app:$app "$final_path/.yarnrc.yml"
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn install --production --pure-lockfile
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn cache clean
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn install --production --pure-lockfile --use-yarnrc="$final_path/.yarnrc.yml"
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn cache clean --use-yarnrc="$final_path/.yarnrc.yml"
popd
#=================================================

View file

@ -241,8 +241,8 @@ chown $app:$app "$final_path/.yarnrc.yml"
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn install --production --pure-lockfile
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn cache clean
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn install --production --pure-lockfile --use-yarnrc="$final_path/.yarnrc.yml"
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH HOME="$final_path" yarn cache clean --use-yarnrc="$final_path/.yarnrc.yml"
popd
#=================================================