bundles: install yarn globally instead of in each individual bundle
This commit is contained in:
parent
193c038bab
commit
ddd29bef3b
5 changed files with 16 additions and 9 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue