Skip to content

Commit 3abe9a1

Browse files
committed
Merge branch 'main' of github.com:rh-ecosystem-edge/ztp-pipeline-relocatable
2 parents 1d2fa24 + 5d83a26 commit 3abe9a1

3 files changed

Lines changed: 41 additions & 10 deletions

File tree

.github/workflows/ui.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "User Interface"
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
env:
13+
NODE_OPTIONS: '--max-old-space-size=8192'
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Yarn hack
18+
run: mkdir -p /home/runner/.cache/yarn/v6
19+
- name: Setup node
20+
uses: actions/setup-node@v2.4.1
21+
with:
22+
node-version: '14'
23+
cache: 'yarn'
24+
cache-dependency-path: './ui/yarn.lock'
25+
- name: Install dependencies
26+
run: yarn install
27+
working-directory: ./ui
28+
- name: Build code (includes tests)
29+
run: yarn build
30+
working-directory: ./ui
31+

ui/frontend/src/components/UsernamePage/__snapshots__/UsernamePage.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ exports[`UsernamePage can render 1`] = `
6464
<div
6565
class="page-header-middle"
6666
>
67-
ZTPFW setup
67+
Edge cluster setup
6868
</div>
6969
</div>
7070
<div

ui/frontend/src/components/WelcomePage/__snapshots__/WelcomePage.test.tsx.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ exports[`Settings can render 1`] = `
6464
<div
6565
class="page-header-middle"
6666
>
67-
ZTPFW setup
67+
Edge cluster setup
6868
</div>
6969
</div>
7070
<div
@@ -120,13 +120,13 @@ exports[`Settings can render 1`] = `
120120
data-ouia-component-type="PF4/Title"
121121
data-ouia-safe="true"
122122
>
123-
ZTPFW
123+
Edge cluster
124124
</h1>
125125
</div>
126126
<div
127127
class="pf-l-stack__item pf-m-fill"
128128
>
129-
To set up the configuration of your ZTPFW, click Continue.
129+
To set up the configuration of your edge cluster, click Continue.
130130
</div>
131131
<div
132132
class="pf-l-stack__item"
@@ -214,7 +214,7 @@ exports[`Settings can render Settings page 1`] = `
214214
<div
215215
class="page-header-middle"
216216
>
217-
ZTPFW setup
217+
Edge cluster setup
218218
</div>
219219
</div>
220220
<div
@@ -270,13 +270,13 @@ exports[`Settings can render Settings page 1`] = `
270270
data-ouia-component-type="PF4/Title"
271271
data-ouia-safe="true"
272272
>
273-
ZTPFW
273+
Edge cluster
274274
</h1>
275275
</div>
276276
<div
277277
class="pf-l-stack__item pf-m-fill"
278278
>
279-
To set up the configuration of your ZTPFW, click Continue.
279+
To set up the configuration of your edge cluster, click Continue.
280280
</div>
281281
<div
282282
class="pf-l-stack__item"
@@ -364,7 +364,7 @@ exports[`Settings can render wizard 1`] = `
364364
<div
365365
class="page-header-middle"
366366
>
367-
ZTPFW setup
367+
Edge cluster setup
368368
</div>
369369
</div>
370370
<div
@@ -420,13 +420,13 @@ exports[`Settings can render wizard 1`] = `
420420
data-ouia-component-type="PF4/Title"
421421
data-ouia-safe="true"
422422
>
423-
ZTPFW
423+
Edge cluster
424424
</h1>
425425
</div>
426426
<div
427427
class="pf-l-stack__item pf-m-fill"
428428
>
429-
To set up the configuration of your ZTPFW, click Continue.
429+
To set up the configuration of your edge cluster, click Continue.
430430
</div>
431431
<div
432432
class="pf-l-stack__item"

0 commit comments

Comments
 (0)