Skip to content

Commit 36cc2ff

Browse files
committed
Add single version = loose flag
Signed-off-by: Derek Ho <dxho@amazon.com>
1 parent abfc4f2 commit 36cc2ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-and-test-workflow.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
cd ./OpenSearch-Dashboards/
4444
su `id -un 1000` -c "source $NVM_DIR/nvm.sh && nvm use && node -v && yarn -v &&
4545
cd ./plugins/anomaly-detection-dashboards-plugin &&
46-
whoami && yarn osd bootstrap && yarn build && yarn run test:jest --coverage"
46+
whoami && yarn osd bootstrap --single-version=loose && yarn build && yarn run test:jest --coverage"
4747
- name: Uploads coverage
4848
uses: codecov/codecov-action@v1
4949

@@ -87,7 +87,7 @@ jobs:
8787
- name: Bootstrap the plugin
8888
run: |
8989
cd OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin
90-
yarn osd bootstrap
90+
yarn osd bootstrap --single-version=loose
9191
- name: Build the plugin
9292
run: |
9393
cd OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin

.github/workflows/remote-integ-tests-workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- name: Bootstrap the plugin
8383
run: |
8484
cd OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin
85-
yarn osd bootstrap
85+
yarn osd bootstrap --single-version=loose
8686
8787
- name: Run OpenSearch Dashboards server
8888
run: |

0 commit comments

Comments
 (0)