Move submodule building to its own step
This commit is contained in:
parent
0a4e61f339
commit
e036b85291
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue