@@ -12,22 +12,39 @@ jobs:
12
12
- name : Checkout Repository
13
13
uses : actions/checkout@v2
14
14
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
15
26
- name : Setup Node
16
27
uses : actions/setup-node@v3
17
28
with :
18
- node-version-file : " .nvmrc " # Assuming you have a .nvmrc file with the Node version
29
+ node-version-file : " ./OpenSearch-Dashboards/ .nvmrc"
19
30
registry-url : " https://registry.npmjs.org"
20
-
21
31
- 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
23
33
shell : bash
24
34
run : |
25
- YARN_VERSION=$(node -p "require('./package.json').engines.yarn")
35
+ YARN_VERSION=$(node -p "require('./OpenSearch-Dashboards/ package.json').engines.yarn")
26
36
echo "Installing yarn@$YARN_VERSION"
27
37
npm i -g yarn@$YARN_VERSION
28
-
29
38
- run : node -v
30
39
- 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
31
48
32
49
- name : Install Dependencies
33
50
run : yarn install
0 commit comments