Move submodule building to its own step
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
philipp lang 2026-04-29 14:53:35 +02:00
parent 0a4e61f339
commit e036b85291
1 changed files with 6 additions and 1 deletions

View File

@ -31,10 +31,15 @@ steps:
commands:
- while ! curl --silent 'http://owncloudserver:8080/ocs/v1.php/cloud/capabilities?format=json' -u admin:admin | grep '"status":"ok"'; do sleep 1; done
- name: node_submodules
image: node:20.15.0-slim
commands:
- cd packages/adrema-form && npm ci && npm run build && rm -R node_modules && cd ../../
- name: node
image: node:20.15.0-slim
commands:
- npm ci && cd packages/adrema-form && npm ci && npm run build && rm -R node_modules && cd ../../ && npm run img && npm run prod && rm -R node_modules
- npm ci && npm run img && npm run prod && rm -R node_modules
- name: tests
image: zoomyboy/adrema-base:latest