diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d3cba051d..0e0b947c65 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