Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deployment): Remove --recursive flag from build args #176

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/vite.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down