Skip to content

Commit

Permalink
Fix web_gui build (#1035)
Browse files Browse the repository at this point in the history
* Fix missing `SafeHtml` type

* Partial revert of c7ab508

* Revert "Bump @angular/core from 4.4.6 to 11.0.5 in /openhtf/output/web_gui (#1014)"

This reverts commit e9c7681.

* Replace uglifyjs-webpack-plugin with terser-webpack-plugin-legacy

* Rebuild web_gui

* Add CI job to check that the web_gui builds

Co-authored-by: glados-verma <akashv@google.com>
  • Loading branch information
lalten and glados-verma authored Oct 11, 2022
1 parent 27c9382 commit 7581ab2
Show file tree
Hide file tree
Showing 21 changed files with 3,910 additions and 1,815 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,16 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_PUBLISH_PASSWORD }}
skip_existing: true

web_ui:
runs-on: ubuntu-latest
defaults:
run:
working-directory: openhtf/output/web_gui
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 9
- run: npm install
- run: npm run build

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openhtf/output/web_gui/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<head><link href="/css/app.d714dbd143d37088ddc9.css" rel="stylesheet"></head><!doctype html>
<head><link href="/css/app.fb4b46e126eadff0ed0a.css" rel="stylesheet"></head><!doctype html>
<title>OpenHTF</title>

<!-- TODO(Kenadia): sockjs-client should be included via node. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.1.4/sockjs.min.js"></script>

<base href="/">
<htf-app config="{{ json_encode(config) }}">Loading...</htf-app>
<script type="text/javascript" src="/js/polyfills.d714dbd143d37088ddc9.js"></script><script type="text/javascript" src="/js/vendor.d714dbd143d37088ddc9.js"></script><script type="text/javascript" src="/js/app.d714dbd143d37088ddc9.js"></script>
<script type="text/javascript" src="/js/polyfills.fb4b46e126eadff0ed0a.js"></script><script type="text/javascript" src="/js/vendor.fb4b46e126eadff0ed0a.js"></script><script type="text/javascript" src="/js/app.fb4b46e126eadff0ed0a.js"></script>
302 changes: 0 additions & 302 deletions openhtf/output/web_gui/dist/js/app.d714dbd143d37088ddc9.js

This file was deleted.

This file was deleted.

482 changes: 482 additions & 0 deletions openhtf/output/web_gui/dist/js/app.fb4b46e126eadff0ed0a.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

79 changes: 0 additions & 79 deletions openhtf/output/web_gui/dist/js/polyfills.d714dbd143d37088ddc9.js

This file was deleted.

This file was deleted.

98 changes: 98 additions & 0 deletions openhtf/output/web_gui/dist/js/polyfills.fb4b46e126eadff0ed0a.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

792 changes: 0 additions & 792 deletions openhtf/output/web_gui/dist/js/vendor.d714dbd143d37088ddc9.js

This file was deleted.

This file was deleted.

1,584 changes: 1,584 additions & 0 deletions openhtf/output/web_gui/dist/js/vendor.fb4b46e126eadff0ed0a.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 7581ab2

Please sign in to comment.