File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -81,13 +81,20 @@ commands:
8181 command : |
8282 curl -X POST --header "Content-Type: application/json" "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel?circle-token=${CIRCLE_TOKEN}"
8383
84+ initialize_env :
85+ steps :
86+ - run :
87+ name : Initialize Environment
88+ command : ./.circleci/env.sh
89+
8490 custom_attach_workspace :
8591 description : Attach workspace at a predefined location
8692 steps :
8793 - attach_workspace :
8894 at : *workspace_location
8995 setup_windows :
9096 steps :
97+ - initialize_env
9198 - run : nvm install 16.10
9299 - run : nvm use 16.10
93100 - run : npm install -g yarn@1.22.10
@@ -150,6 +157,7 @@ jobs:
150157 else
151158 echo "This build is not over a PR, nothing to do."
152159 fi
160+ - initialize_env
153161 - restore_cache :
154162 keys :
155163 - *cache_key
@@ -208,10 +216,7 @@ jobs:
208216 steps :
209217 - custom_attach_workspace
210218 - browser-tools/install-chrome
211- - run :
212- name : Initialize Environment
213- command : |
214- ./.circleci/env.sh
219+ - initialize_env
215220 - run :
216221 name : Execute CLI E2E Tests
217222 command : |
@@ -237,9 +242,7 @@ jobs:
237242 resource_class : medium
238243 steps :
239244 - custom_attach_workspace
240- - run :
241- name : Initialize Environment
242- command : ./.circleci/env.sh
245+ - initialize_env
243246 - run :
244247 name : Initialize Saucelabs
245248 command : setSecretVar SAUCE_ACCESS_KEY $(echo $SAUCE_ACCESS_KEY | rev)
Original file line number Diff line number Diff line change @@ -33,3 +33,6 @@ setPublicVar SAUCE_READY_FILE_TIMEOUT 120
3333
3434# Source `$BASH_ENV` to make the variables available immediately.
3535source $BASH_ENV ;
36+
37+ # Disable husky.
38+ setPublicVar HUSKY 0
You can’t perform that action at this time.
0 commit comments