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
|
@ -55,10 +55,9 @@ actions = {
|
|||
'hedgedoc_yarn': {
|
||||
'command': ' && '.join([
|
||||
'cd /opt/hedgedoc',
|
||||
'npm install yarn',
|
||||
'node_modules/yarn/bin/yarn install --production=true --pure-lockfile --ignore-scripts',
|
||||
'node_modules/yarn/bin/yarn install --ignore-scripts',
|
||||
'node_modules/yarn/bin/yarn build',
|
||||
'yarn install --production=true --pure-lockfile --ignore-scripts',
|
||||
'yarn install --ignore-scripts',
|
||||
'yarn build',
|
||||
]),
|
||||
'needs': {
|
||||
'file:/opt/hedgedoc/config.json',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue