diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9d43bd..b67af9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,10 +15,13 @@ cache: - frontend/node_modules before_script: - - yarn install - - cd frontend - - yarn install - - cd .. + - > + if [ ! -d "node_modules" ]; then + yarn install + cd frontend + yarn install + cd .. + fi test_backend: stage: test