mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-16 06:46:12 +00:00
🔨 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:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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'
|
||||
|
16
.github/workflows/linter.yml
vendored
16
.github/workflows/linter.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user