bundles/{element-web,hedgedoc,powerdnsadmin}: use 'yarn install --ignore-scripts'

This commit is contained in:
Franzi 2021-11-09 18:08:31 +01:00
parent e6428ce029
commit 8f6b8632f5
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 15 additions and 4 deletions

View file

@ -27,7 +27,12 @@ files = {
actions = {
'element-web_yarn': {
'command': 'cd /opt/element-web && npm install yarn && node_modules/yarn/bin/yarn install && node_modules/yarn/bin/yarn build',
'command': ' && '.join([
'cd /opt/element-web',
'npm install yarn',
'node_modules/yarn/bin/yarn install --pure-lockfile --ignore-scripts',
'node_modules/yarn/bin/yarn build',
]),
'needs': {
'pkg_apt:nodejs',
},