diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 01f5279af..1fb51bec3 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -33,11 +33,11 @@ jobs: # Run tests - name: ๐Ÿงช Run tests - run: yarn workspaces foreach --verbose --recursive --topological-dev run test + run: yarn workspaces foreach --verbose --topological-dev run test # Build packages - name: Build packages - run: yarn workspaces foreach --verbose --recursive --topological-dev run build + run: yarn workspaces foreach --verbose --topological-dev run build # Build lib - name: Build @kaoto-next/ui package in lib mode diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml index ea587fc6f..2b25fe90d 100644 --- a/.github/workflows/deploy-to-gh-pages.yml +++ b/.github/workflows/deploy-to-gh-pages.yml @@ -42,12 +42,12 @@ jobs: run: yarn - name: Build packages - run: yarn workspaces foreach --verbose --recursive --topological-dev run build + run: yarn workspaces foreach --verbose --topological-dev run build - name: ๐Ÿ“ค Upload artifact @kaoto-next/ui web application uses: actions/upload-pages-artifact@v2 with: - path: 'packages/ui/dist/webapp' + path: 'packages/ui/dist' - name: ๐Ÿš€ Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7eaf210c6..3275859aa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,7 +36,7 @@ jobs: run: yarn - name: ๐Ÿงช Run tests - run: yarn workspaces foreach --verbose --recursive --topological-dev run test + run: yarn workspaces foreach --verbose --topological-dev run test # Build lib - name: Build @kaoto-next/ui package in lib mode diff --git a/packages/ui/vite.config.cjs b/packages/ui/vite.config.cjs index fd4be831f..863b890b9 100644 --- a/packages/ui/vite.config.cjs +++ b/packages/ui/vite.config.cjs @@ -9,7 +9,7 @@ import fs from 'node:fs'; export default defineConfig({ plugins: [react(), copyKaotoCamelCatalog()], build: { - outDir: './dist/webapp', + outDir: './dist', sourcemap: true, emptyOutDir: true, },