Skip to content

Commit

Permalink
[CI] update yarn timeout for GitHub workflow on Windows
Browse files Browse the repository at this point in the history
Yarn 1.x seems to have an issue with timing on windows and
mac when running.

Source:
yarnpkg/yarn#8242 (comment)

Increase timeout for both but I believe for future template purposes.

Issue:
n/a

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Jan 3, 2023
1 parent e9485f6 commit 3456797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build_and_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
run: |
npm uninstall -g yarn
npm i -g yarn@1.22.10
yarn config set network-timeout 500000
- name: Run bootstrap
run: yarn osd bootstrap
Expand Down Expand Up @@ -210,6 +211,7 @@ jobs:
run: |
npm uninstall -g yarn
npm i -g yarn@1.22.10
yarn config set network-timeout 500000
- name: Setup chromedriver
run: node scripts/upgrade_chromedriver.js
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixes misleading embaddable plugin error message ([#3043](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3043))
- [MD] Update dummy url in tests to follow lychee url allowlist ([#3099](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3099))
- Adds config override to fix obsolete theme:version config value of v8 (beta) rendering issue ([#3045](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3045))

- [CI] Update test workflow to increase network-timeout for yarn for installing dependencies ([#3118](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3118))

### 🚞 Infrastructure

Expand Down

0 comments on commit 3456797

Please sign in to comment.