This commit is contained in:
병준 박 2025-04-25 23:39:02 +00:00
parent 436893d369
commit cf1913874d

View File

@ -40,6 +40,18 @@ spec:
- name: base
steps:
- name: install-deps
image: node:18-alpine
workingDir: /workspace/base/$(params.context)/source/$(params.workspaceName)
env:
- name: HOME
value: /workspace/base/$(params.context)/home
script: |
# Install Nx if missing
command -v nx >/dev/null || npm install -g nx@latest
pnpm install
- name: import-projects
image: node:18-alpine
workingDir: /workspace/base/$(params.context)/source/$(params.workspaceName)
@ -52,9 +64,6 @@ spec:
ls -al
# Install Nx if missing
command -v nx >/dev/null || npm install -g nx@latest
TARGETS="$(params.targetProjects)"
SOURCES="$(params.sourceProjects)"