diff --git a/.github/actions/install-dashboards/action.yml b/.github/actions/install-dashboards/action.yml index 7834e7196..cc2a6aa0a 100644 --- a/.github/actions/install-dashboards/action.yml +++ b/.github/actions/install-dashboards/action.yml @@ -81,4 +81,4 @@ runs: with: timeout_minutes: 20 max_attempts: 2 - command: yarn --cwd OpenSearch-Dashboards osd bootstrap --oss + command: yarn --cwd OpenSearch-Dashboards osd bootstrap --oss --single-version=loose # loose is passed in to ignore version conflicts on cypress version used in OSD and this repo diff --git a/.github/workflows/verify-binary-installation.yml b/.github/workflows/verify-binary-installation.yml index 00cc156d5..4f871ca98 100644 --- a/.github/workflows/verify-binary-installation.yml +++ b/.github/workflows/verify-binary-installation.yml @@ -85,6 +85,7 @@ jobs: node-version: ${{ steps.tool-versions.outputs.node_version }} registry-url: 'https://registry.npmjs.org' + # loose is passed in to ignore version conflicts on cypress version used in OSD and this repo - name: Setup Opensearch Dashboards run: | npm uninstall -g yarn @@ -92,7 +93,7 @@ jobs: npm i -g yarn@${{ steps.tool-versions.outputs.yarn_version }} yarn cache clean yarn add sha.js - yarn osd bootstrap + yarn osd bootstrap --single-version=loose scripts/use_node scripts/build working-directory: OpenSearch-Dashboards shell: bash @@ -101,9 +102,10 @@ jobs: with: path: OpenSearch-Dashboards/plugins/security-dashboards-plugin + # loose is passed in to ignore version conflicts on cypress version used in OSD and this repo - name: Install dependencies run: | - yarn osd bootstrap + yarn osd bootstrap --single-version=loose working-directory: OpenSearch-Dashboards shell: bash