diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21bcf33..a431824 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,8 @@ build: # This job runs in the build stage, which runs first. - echo "Compiling the code..." - echo $DOCKER_VOLUME - echo $DOCKER_COMPOSE_VOLUME - - yarn install --mode=update-lockfile + - rm -rf node_modules .yarn/install-state.gz + - yarn install - yarn build - sudo cp -r $PWD/dist/. $DOCKER_VOLUME/scheduler/back/dist - sudo cp $PWD/package.json $DOCKER_VOLUME/scheduler/back/dist