Skip to content

Commit 76ad7bf

Browse files
committed
github workflow changes
Signed-off-by: kohinoor98 <[email protected]>
1 parent b20b421 commit 76ad7bf

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

.github/workflows/links.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,39 @@ jobs:
1212
- name: Checkout Repository
1313
uses: actions/checkout@v2
1414

15+
16+
# Enable longer filenames for windows
17+
- name: Enable longer filenames
18+
if: ${{ matrix.os == 'windows-latest' }}
19+
run: git config --system core.longpaths true
20+
- name: Checkout OpenSearch-Dashboards
21+
uses: actions/checkout@v2
22+
with:
23+
repository: opensearch-project/OpenSearch-Dashboards
24+
ref: ${{ env.OPENSEARCH_DASHBOARDS_VERSION }}
25+
path: OpenSearch-Dashboards
1526
- name: Setup Node
1627
uses: actions/setup-node@v3
1728
with:
18-
node-version-file: ".nvmrc" # Assuming you have a .nvmrc file with the Node version
29+
node-version-file: "./OpenSearch-Dashboards/.nvmrc"
1930
registry-url: "https://registry.npmjs.org"
20-
2131
- name: Install Yarn
22-
# Use bash to avoid having a Windows/Linux specific step
32+
# Need to use bash to avoid having a windows/linux specific step
2333
shell: bash
2434
run: |
25-
YARN_VERSION=$(node -p "require('./package.json').engines.yarn")
35+
YARN_VERSION=$(node -p "require('./OpenSearch-Dashboards/package.json').engines.yarn")
2636
echo "Installing yarn@$YARN_VERSION"
2737
npm i -g yarn@$YARN_VERSION
28-
2938
- run: node -v
3039
- run: yarn -v
40+
- name: Checkout Index Management Dashboards plugin
41+
uses: actions/checkout@v2
42+
with:
43+
path: OpenSearch-Dashboards/plugins/index-management-dashboards-plugin
44+
- name: Bootstrap plugin/OpenSearch-Dashboards
45+
run: |
46+
cd OpenSearch-Dashboards/plugins/index-management-dashboards-plugin
47+
yarn osd bootstrap
3148
3249
- name: Install Dependencies
3350
run: yarn install

0 commit comments

Comments
 (0)