mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
add ynh_use_nodejs
This commit is contained in:
parent
021edce133
commit
4d65d05d43
2 changed files with 5 additions and 1 deletions
|
@ -136,7 +136,9 @@ ynh_script_progression --message="Building $app... (this will take some time and
|
||||||
|
|
||||||
pushd "$final_path" || ynh_die
|
pushd "$final_path" || ynh_die
|
||||||
|
|
||||||
yarn install --frozen-lockfile && ynh_exec_warn_less yarn run build
|
ynh_use_nodejs
|
||||||
|
|
||||||
|
yarn install --frozen-lockfile && ynh_exec_warn_less yarn run build
|
||||||
|
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
|
|
||||||
|
|
|
@ -136,6 +136,8 @@ then
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
|
|
||||||
|
ynh_use_nodejs
|
||||||
|
|
||||||
yarn install --frozen-lockfile && ynh_exec_warn_less yarn run build
|
yarn install --frozen-lockfile && ynh_exec_warn_less yarn run build
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue