bundles: install yarn globally instead of in each individual bundle

This commit is contained in:
Franzi 2022-04-03 08:16:35 +02:00
parent 193c038bab
commit ddd29bef3b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 16 additions and 9 deletions

View file

@ -29,9 +29,8 @@ actions = {
'element-web_yarn': {
'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',
'yarn install --pure-lockfile --ignore-scripts',
'yarn build',
]),
'needs': {
'pkg_apt:nodejs',