Skip to content

Commit 7581ab2

Browse files
laltenglados-verma
andauthored
Fix web_gui build (#1035)
* 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 <[email protected]>
1 parent 27c9382 commit 7581ab2

21 files changed

+3910
-1815
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,16 @@ jobs:
4444
user: __token__
4545
password: ${{ secrets.PYPI_PUBLISH_PASSWORD }}
4646
skip_existing: true
47+
48+
web_ui:
49+
runs-on: ubuntu-latest
50+
defaults:
51+
run:
52+
working-directory: openhtf/output/web_gui
53+
steps:
54+
- uses: actions/checkout@v3
55+
- uses: actions/setup-node@v3
56+
with:
57+
node-version: 9
58+
- run: npm install
59+
- run: npm run build

openhtf/output/web_gui/dist/css/app.d714dbd143d37088ddc9.css renamed to openhtf/output/web_gui/dist/css/app.fb4b46e126eadff0ed0a.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openhtf/output/web_gui/dist/css/app.d714dbd143d37088ddc9.css.map renamed to openhtf/output/web_gui/dist/css/app.fb4b46e126eadff0ed0a.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<head><link href="/css/app.d714dbd143d37088ddc9.css" rel="stylesheet"></head><!doctype html>
1+
<head><link href="/css/app.fb4b46e126eadff0ed0a.css" rel="stylesheet"></head><!doctype html>
22
<title>OpenHTF</title>
33

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

77
<base href="/">
88
<htf-app config="{{ json_encode(config) }}">Loading...</htf-app>
9-
<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>
9+
<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>

openhtf/output/web_gui/dist/js/app.d714dbd143d37088ddc9.js

Lines changed: 0 additions & 302 deletions
This file was deleted.

openhtf/output/web_gui/dist/js/app.d714dbd143d37088ddc9.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

openhtf/output/web_gui/dist/js/app.fb4b46e126eadff0ed0a.js

Lines changed: 482 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openhtf/output/web_gui/dist/js/app.fb4b46e126eadff0ed0a.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openhtf/output/web_gui/dist/js/polyfills.d714dbd143d37088ddc9.js

Lines changed: 0 additions & 79 deletions
This file was deleted.

openhtf/output/web_gui/dist/js/polyfills.d714dbd143d37088ddc9.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)