@@ -54,9 +54,45 @@ workspace_persist: &workspace_persist
54
54
workspace_attach : &workspace_attach
55
55
at : ./workspace
56
56
57
+ running_version_patch : &running_version_patch
58
+ name : Patching Version
59
+ command : |
60
+ npm install
61
+ git config user.name brooketopcoder
62
+ git config user.email [email protected]
63
+ npm version patch -m "Increment Version [ci skip]"
64
+ git push --set-upstream origin master
57
65
66
+ update_types : &update_types
67
+ name : Updating Types
68
+ command : |
69
+ npm ci
70
+ npm run types
71
+ diffstatus=$(git status --porcelain)
72
+ git config user.name brooketopcoder
73
+ git config user.email [email protected]
74
+ git add types
75
+ git diff-index --cached --quiet HEAD || git commit -m "Add Types [ci skip]"
76
+ git push --set-upstream origin master
77
+
78
+ finger_print_add : &finger_print_add
79
+ fingerprints :
80
+ - " a5:ad:51:96:10:a9:09:fb:7b:b4:fc:b7:08:df:ab:fa"
81
+
58
82
# DEFINE STEPS FOR JOBS
59
83
84
+ build_steps_prod : &build_steps_prod
85
+ # Initialization.
86
+ - add_ssh_keys : *finger_print_add
87
+ - checkout
88
+ - setup_remote_docker
89
+ - run : *install_build_dependency
90
+ - run : *install_deploysuite
91
+ - run : *update_types
92
+ - run : *running_version_patch
93
+ - run : *running_npm_build
94
+ - persist_to_workspace : *workspace_persist
95
+
60
96
build_steps : &build_steps
61
97
# Initialization.
62
98
- checkout
96
132
DEPLOY_ENV : " PROD"
97
133
LOGICAL_ENV : " prod"
98
134
APPNAME : " universal-navigation"
99
- steps : *build_steps
135
+ steps : *build_steps_prod
100
136
101
137
# Just tests commited code.
102
138
deployDev :
0 commit comments