File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -81,13 +81,20 @@ commands:
81
81
command : |
82
82
curl -X POST --header "Content-Type: application/json" "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel?circle-token=${CIRCLE_TOKEN}"
83
83
84
+ initialize_env :
85
+ steps :
86
+ - run :
87
+ name : Initialize Environment
88
+ command : ./.circleci/env.sh
89
+
84
90
custom_attach_workspace :
85
91
description : Attach workspace at a predefined location
86
92
steps :
87
93
- attach_workspace :
88
94
at : *workspace_location
89
95
setup_windows :
90
96
steps :
97
+ - initialize_env
91
98
- run : nvm install 16.10
92
99
- run : nvm use 16.10
93
100
-
run :
npm install -g [email protected]
@@ -150,6 +157,7 @@ jobs:
150
157
else
151
158
echo "This build is not over a PR, nothing to do."
152
159
fi
160
+ - initialize_env
153
161
- restore_cache :
154
162
keys :
155
163
- *cache_key
@@ -208,10 +216,7 @@ jobs:
208
216
steps :
209
217
- custom_attach_workspace
210
218
- browser-tools/install-chrome
211
- - run :
212
- name : Initialize Environment
213
- command : |
214
- ./.circleci/env.sh
219
+ - initialize_env
215
220
- run :
216
221
name : Execute CLI E2E Tests
217
222
command : |
@@ -237,9 +242,7 @@ jobs:
237
242
resource_class : medium
238
243
steps :
239
244
- custom_attach_workspace
240
- - run :
241
- name : Initialize Environment
242
- command : ./.circleci/env.sh
245
+ - initialize_env
243
246
- run :
244
247
name : Initialize Saucelabs
245
248
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
33
33
34
34
# Source `$BASH_ENV` to make the variables available immediately.
35
35
source $BASH_ENV ;
36
+
37
+ # Disable husky.
38
+ setPublicVar HUSKY 0
You can’t perform that action at this time.
0 commit comments