From 30a908b56d9d380860d51f275bafcd3eda97c1cf Mon Sep 17 00:00:00 2001 From: lambadalambda Date: Wed, 1 Mar 2017 14:42:45 -0500 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d3cba05..0e0b947c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,15 +27,18 @@ before_script: # paths: # - node_modules/ +stages: + - build + - test + - deploy + test: script: - - npm install -g yarn - yarn - npm run unit build: script: - - npm install -g yarn - yarn - npm run build artifacts: @@ -47,7 +50,6 @@ deploy: only: - develop script: - - npm install -g yarn - yarn - npm run build - scp -r dist/* pleroma@tenshi.heldscal.la:~/pleroma