diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75f0f9aa97badab6d5b48d29502d7c617d5de1e4..de046f0a423fafb8afcc6eb3d458aae929b3e394 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,9 +27,7 @@ job_test: script: - cd tms - echo "${env_test}" > .env - # Install composer - - curl -sS https://getcomposer.org/installer | php - - php composer.phar install + # Install yarn and assets - npm cache clean -f - npm install -g n @@ -38,6 +36,9 @@ job_test: - export PATH="$HOME/.yarn/bin:$PATH" - yarn install --ignore-engines - yarn encore dev + # Install composer + - curl -sS https://getcomposer.org/installer | php + - php composer.phar install # Tests - vendor/bin/simple-phpunit --configuration phpunit.xml.dist