test without sudo
This commit is contained in:
parent
26adf6118b
commit
5958cfd2bf
@ -172,17 +172,15 @@ ynh_system_user_create $app
|
||||
# ...
|
||||
#=================================================
|
||||
|
||||
chown -R $app: $final_path
|
||||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
sudo -u $app $nodejs_path/npm install "graphql@^0.13.1"
|
||||
sudo -u $app $nodejs_path/npm install "acorn@^6.0.0"
|
||||
sudo -u $app $nodejs_path/npm install "babel-core@>=6.0.20"
|
||||
sudo -u $app $nodejs_path/npm install "eslint@>=5.0.0"
|
||||
sudo -u $app $nodejs_path/npm install
|
||||
sudo -u $app $nodejs_path/npm audit fix
|
||||
sudo -u $app $nodejs_path/npm run build
|
||||
$nodejs_path/npm install "graphql@^0.13.1"
|
||||
$nodejs_path/npm install "acorn@^6.0.0"
|
||||
$nodejs_path/npm install "babel-core@>=6.0.20"
|
||||
$nodejs_path/npm install "eslint@>=5.0.0"
|
||||
$nodejs_path/npm install
|
||||
$nodejs_path/npm audit fix
|
||||
$nodejs_path/npm run build
|
||||
popd
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user