Skip to content

Commit 0e4dee2

Browse files
authored
Move Dashboard UI to a separate subdirectory (#22)
1 parent 34e8069 commit 0e4dee2

File tree

114 files changed

+22
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+22
-3
lines changed

.github/workflows/branch-build.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Main branch
22

3+
# TODO: Temporary solution. Remove it once migration to Lerna is completed
4+
defaults:
5+
run:
6+
working-directory: dashboard
7+
38
on:
49
push:
510
paths-ignore:
@@ -21,9 +26,6 @@ jobs:
2126
DOCKER_REPOSITORY: "ghcr.io/capactio"
2227

2328
steps:
24-
- name: Set Docker tag env
25-
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
26-
2729
- name: Checkout repository
2830
uses: actions/checkout@v2
2931

@@ -32,6 +34,7 @@ jobs:
3234
with:
3335
node-version: '17.x'
3436
cache: 'npm'
37+
cache-dependency-path: '**/package-lock.json'
3538

3639
- name: Install dependencies
3740
run: npm install
@@ -45,6 +48,9 @@ jobs:
4548
# See the issue https://github.com/facebook/create-react-app/issues/3657
4649
run: CI=false npm run build
4750

51+
- name: Set Docker tag env
52+
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
53+
4854
- name: Build Docker image
4955
run: npm run docker:build-image
5056

.github/workflows/make-release.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Make release
22

3+
# TODO: Temporary solution. Remove it once migration to Lerna is completed
4+
defaults:
5+
run:
6+
working-directory: packages/dashboard-ui
7+
38
# Required secrets:
49
# GH_PAT - GitHub username with personal access token with permissions to make commits to repository, must be in format: "<username>:<PAT>"
510

@@ -17,6 +22,7 @@ jobs:
1722
environment: Release
1823
permissions:
1924
contents: read
25+
2026
steps:
2127
- name: Checkout repository
2228
uses: actions/checkout@v2

.github/workflows/pr-build.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: PR build
22

3+
# TODO: Temporary solution. Remove it once migration to Lerna is completed
4+
defaults:
5+
run:
6+
working-directory: dashboard
7+
38
on:
49
pull_request_target:
510
types: [ opened, synchronize, reopened ]
@@ -46,6 +51,7 @@ jobs:
4651
with:
4752
node-version: '17.x'
4853
cache: 'npm'
54+
cache-dependency-path: '**/package-lock.json'
4955

5056
- name: Install dependencies
5157
run: npm install
@@ -79,6 +85,7 @@ jobs:
7985
if: github.event.pull_request.draft == false
8086
permissions:
8187
packages: write
88+
8289
steps:
8390
- name: Checkout repository
8491
uses: actions/checkout@v2
File renamed without changes.
File renamed without changes.

.gitignore dashboard/.gitignore

File renamed without changes.

Dockerfile dashboard/Dockerfile

File renamed without changes.

README.md dashboard/README.md

codegen.yml dashboard/codegen.yml

File renamed without changes.
File renamed without changes.

nginx.conf dashboard/nginx.conf

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/App.css dashboard/src/App.css

File renamed without changes.

src/App.tsx dashboard/src/App.tsx

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)