init
This commit is contained in:
parent
436893d369
commit
cf1913874d
@ -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)"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user