bundles/{matrix-dimension,mx-puppet-discord}: nodejs-dependency-hölle, once again

This commit is contained in:
Franzi 2022-11-05 07:47:07 +01:00
parent ee9f7b8875
commit 73e6ba0872
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 19 additions and 1 deletions

View file

@ -51,7 +51,11 @@ files = {
actions = {
'matrix_dimension_build': {
'command': 'cd ' + node.metadata.get('matrix-dimension/install_dir') + ' && sudo -u matrix-dimension npm install && sudo -u matrix-dimension npm run build',
'command': ' && '.join([
'cd ' + node.metadata.get('matrix-dimension/install_dir'),
'sudo -u matrix-dimension npm install --legacy-peer-deps',
'sudo -u matrix-dimension NODE_OPTIONS=--openssl-legacy-provider npm run build',
]),
'needs': {
'pkg_apt:nodejs',
},