diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d140029fa..49d9d0e207 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,17 +8,22 @@ cache: files: - yarn.lock paths: - - node_modules + - node_modules/ stages: + - install - lint - test - build - deploy -before_script: - - env - - yarn +install_dependencies: + stage: install + script: + - yarn install --ignore-scripts + artifacts: + paths: + - node_modules/ lint-js: stage: lint