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
|
@ -59,8 +59,7 @@ actions = {
|
|||
'triggered': True,
|
||||
'command': ' && '.join([
|
||||
'cd /opt/powerdnsadmin/src',
|
||||
'npm install yarn',
|
||||
'node_modules/yarn/bin/yarn install --pure-lockfile --ignore-scripts',
|
||||
'yarn install --pure-lockfile --ignore-scripts',
|
||||
'FLASK_APP=/opt/powerdnsadmin/src/powerdnsadmin/__init__.py /opt/powerdnsadmin/venv/bin/flask assets build',
|
||||
'chown -R powerdnsadmin:powerdnsadmin /opt/powerdnsadmin/src/powerdnsadmin/static/',
|
||||
]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue