From e036b85291a7c373ef2e2b7b2b3283e93c04a131 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 29 Apr 2026 14:53:35 +0200 Subject: [PATCH] Move submodule building to its own step --- .drone.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index bc9d689f..febf0c51 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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