diff --git a/.drone.yml b/.drone.yml index 8828c30a..8f969520 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,6 +53,11 @@ steps: commands: - while ! mysqladmin ping -h db -u db -pdb --silent; do sleep 1; done + - name: node + image: node:17.9.0-slim + commands: + - npm ci && npm run prod && npm run img && rm -R node_modules + - name: phpunit_tests image: php:8.1.6 volumes: @@ -98,11 +103,6 @@ steps: commands: - vendor/bin/phpstan analyse - - name: node - image: node:17.9.0-slim - commands: - - npm ci && npm run prod && npm run img && rm -R node_modules - - name: compress image: php:7.3 commands: