From bbef75d2d3114d2076443bf44e4f919bd1598501 Mon Sep 17 00:00:00 2001 From: Jakob Schroeter Date: Thu, 1 Mar 2018 17:08:29 +0100 Subject: [PATCH] switched to yarn in production --- src/ansible/playbook.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ansible/playbook.yml b/src/ansible/playbook.yml index a471bad..bd8bf20 100644 --- a/src/ansible/playbook.yml +++ b/src/ansible/playbook.yml @@ -35,15 +35,15 @@ - name: create logging directory file: path=/var/log/sbideo state=directory owner=www-data group=www-data - - name: download dependencies for sbideo with npm - shell: npm install --unsafe-perm + - name: download dependencies for sbideo with yarn + shell: yarn install args: chdir: /usr/lib/sbideo environment: NODE_ENV: development - - name: build sbideo with npm - shell: npm run build + - name: build sbideo + shell: yarn build args: chdir: /usr/lib/sbideo environment: