File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1919 cpuRequirement : 250
2020 memoryRequirement : 256
2121 timeout : 3600
22+ - name : builld
23+ steps :
24+ - !CommandStep
25+ name : cd the workspace and pull from oneDev
26+ runInContainer : false
27+ interpreter : !DefaultInterpreter
28+ commands :
29+ - cd @secret:workspace-path@
30+ - git checkout -q beta
31+ - git checkout . && git clean -xdf -e .env.*.local
32+ - git pull -r --autostash
33+ useTTY : false
34+ condition : ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
35+ - !CommandStep
36+ name : download dependency
37+ runInContainer : false
38+ interpreter : !DefaultInterpreter
39+ commands :
40+ - cd @secret:workspace-path@
41+ - sudo rm -rf ./node_modules
42+ - pnpm i
43+ useTTY : false
44+ condition : ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
45+ - !CommandStep
46+ name : build
47+ runInContainer : false
48+ interpreter : !DefaultInterpreter
49+ commands :
50+ - cd @secret:workspace-path@
51+ - pnpm run build
52+ useTTY : false
53+ condition : ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
54+ - !PublishArtifactStep
55+ name : publish
56+ artifacts : ' dist/**'
57+ condition : ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
58+ triggers :
59+ - !BranchUpdateTrigger {}
60+ retryCondition : never
61+ maxRetries : 3
62+ retryDelay : 30
63+ cpuRequirement : 250
64+ memoryRequirement : 256
65+ timeout : 3600
You can’t perform that action at this time.
0 commit comments