🔨 Move the code from ui directory to ui-common (#1242)

* Move the code from `ui` directory to `ui-common`

* Remove `ui` directory

* Rename `ui-common` to `ui`

* Fix the UI build

* Fix CI
This commit is contained in:
M. Mert Yildiran
2022-11-22 14:20:27 -08:00
committed by GitHub
parent 7e6d89957a
commit 2a35abd4e0
213 changed files with 23224 additions and 121941 deletions

View File

@@ -45,7 +45,7 @@ jobs:
- name: Check modified files
id: modified_files
run: devops/check_modified_files.sh agent/ shared/ tap/ ui/ ui-common/ Dockerfile
run: devops/check_modified_files.sh agent/ shared/ tap/ ui/ Dockerfile
- name: Set up Docker Buildx
if: steps.modified_files.outputs.matched == 'true'

View File

@@ -114,25 +114,13 @@ jobs:
with:
node-version: 16
- name: ESLint prerequisites ui
- name: Install dependencies
run: |
sudo npm install -g eslint
cd ui
npm run prestart
npm i
- name: ESLint ui
- name: Lint
run: |
cd ui
npm run eslint
- name: ESLint prerequisites ui-common
run: |
sudo npm install -g eslint
cd ui-common
npm i
- name: ESLint ui-common
run: |
cd ui-common
npm run eslint