Skip to content

Commit

Permalink
ci: optimize package build step with timeouts and reduced memory usage
Browse files Browse the repository at this point in the history
Co-Authored-By: kiet@onlook.dev <kiet@onlook.dev>
  • Loading branch information
devin-ai-integration[bot] and kiet@onlook.dev committed Jan 12, 2025
1 parent e657c5e commit 5d1dad7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,13 @@ jobs:
run: bun build:foundation

- name: Build packages
run: bun --filter '*' build
timeout-minutes: 30
run: |
# Build packages in parallel with reduced concurrency
bun --filter '*' build --no-summary
env:
# Reduce memory usage for Windows builds
NODE_OPTIONS: "--max-old-space-size=4096"
timeout-minutes: 15

- name: Build/Release Mac app
uses: samuelmeuli/action-electron-builder@v1
Expand Down

0 comments on commit 5d1dad7

Please sign in to comment.