Skip to content

Commit

Permalink
Fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fastlorenzo committed Oct 29, 2020
1 parent 8f0e90b commit 0ca980c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ jobs:
${{ runner.os }}-
- name: Bootstrap Kibana
run: cd ./kibana/plugins/redelk && yarn kbn bootstrap
- name: Fix redux-toolkit
run: sed -i 's/^const /^let /g' ./kibana/plugins/redelk/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.development.js
- name: Run optimizer manually (https://github.com/elastic/kibana/issues/70426)
run: cd ./kibana/plugins/redelk && node ../../scripts/build_kibana_platform_plugins --verbose --no-examples
run: cd ./kibana/plugins/redelk && node ../../scripts/build_kibana_platform_plugins --verbose --no-examples --dist --filter redelk
- name: Build RedELK plugin
run: cd ./kibana/plugins/redelk && yarn build
- name: Archive production artifacts
Expand Down
2 changes: 1 addition & 1 deletion kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"ui": true,
"requiredPlugins": ["navigation", "data", "dashboard", "embeddable", "visualizations", "visualize", "share"],
"optionalPlugins": [],
"requiredBundles": ["kibanaUtils", "kibanaReact"]
"requiredBundles": []
}

0 comments on commit 0ca980c

Please sign in to comment.