-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Husky setup is not needed during CI runs. (cherry picked from commit cebcf56)
- Loading branch information
1 parent
34dd595
commit 0b65387
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,13 +81,20 @@ commands: | |
command: | | ||
curl -X POST --header "Content-Type: application/json" "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}/cancel?circle-token=${CIRCLE_TOKEN}" | ||
initialize_env: | ||
steps: | ||
- run: | ||
name: Initialize Environment | ||
command: ./.circleci/env.sh | ||
|
||
custom_attach_workspace: | ||
description: Attach workspace at a predefined location | ||
steps: | ||
- attach_workspace: | ||
at: *workspace_location | ||
setup_windows: | ||
steps: | ||
- initialize_env | ||
- run: nvm install 16.10 | ||
- run: nvm use 16.10 | ||
- run: npm install -g [email protected] | ||
|
@@ -150,6 +157,7 @@ jobs: | |
else | ||
echo "This build is not over a PR, nothing to do." | ||
fi | ||
- initialize_env | ||
- restore_cache: | ||
keys: | ||
- *cache_key | ||
|
@@ -208,10 +216,7 @@ jobs: | |
steps: | ||
- custom_attach_workspace | ||
- browser-tools/install-chrome | ||
- run: | ||
name: Initialize Environment | ||
command: | | ||
./.circleci/env.sh | ||
- initialize_env | ||
- run: | ||
name: Execute CLI E2E Tests | ||
command: | | ||
|
@@ -237,9 +242,7 @@ jobs: | |
resource_class: medium | ||
steps: | ||
- custom_attach_workspace | ||
- run: | ||
name: Initialize Environment | ||
command: ./.circleci/env.sh | ||
- initialize_env | ||
- run: | ||
name: Initialize Saucelabs | ||
command: setSecretVar SAUCE_ACCESS_KEY $(echo $SAUCE_ACCESS_KEY | rev) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters