forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] update yarn timeout for GitHub workflow on Windows (opensearch-p…
…roject#3118) Yarn 1.x seems to have an issue with timing on windows and mac when running. Source: yarnpkg/yarn#8242 (comment) Increase timeout for Windows only. Issue: n/a Signed-off-by: Kawika Avilla <[email protected]> Signed-off-by: Kawika Avilla <[email protected]>
- Loading branch information
Showing
3 changed files
with
18 additions
and
3 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 |
---|---|---|
|
@@ -104,8 +104,13 @@ jobs: | |
npm uninstall -g yarn | ||
npm i -g [email protected] | ||
# https://github.com/yarnpkg/yarn/issues/8242#issuecomment-776561223 | ||
# Increase network timeout for Windows, retry once if bootstrap fails | ||
- name: Run bootstrap | ||
run: yarn osd bootstrap | ||
run: | | ||
yarn cache clean | ||
yarn config set network-timeout 1000000 -g | ||
yarn osd bootstrap || yarn osd bootstrap | ||
- name: Run linter | ||
id: linter | ||
|
@@ -214,8 +219,13 @@ jobs: | |
- name: Setup chromedriver | ||
run: node scripts/upgrade_chromedriver.js | ||
|
||
# https://github.com/yarnpkg/yarn/issues/8242#issuecomment-776561223 | ||
# Increase network timeout for Windows, retry once if bootstrap fails | ||
- name: Run bootstrap | ||
run: yarn osd bootstrap | ||
run: | | ||
yarn cache clean | ||
yarn config set network-timeout 1000000 -g | ||
yarn osd bootstrap || yarn osd bootstrap | ||
- name: Build plugins | ||
run: node scripts/build_opensearch_dashboards_platform_plugins --no-examples --workers 10 | ||
|
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
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