Skip to content

Commit

Permalink
ref: Smarter electron build (#493)
Browse files Browse the repository at this point in the history
Only build direct dependencies
  • Loading branch information
BYK committed Aug 13, 2024
1 parent ce99d73 commit 3986068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
MAIN_VITE_SENTRY_AUTH_TOKEN: ${{ secrets.MAIN_VITE_SENTRY_AUTH_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
run: pnpm build && cd packages/electron && pnpm build:mac
run: cd packages/electron && pnpm build:mac

- name: Gets latest created release info
id: latest_release_info
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "electron-vite preview",
"dev": "electron-vite dev",
"build": "electron-vite build",
"build:mac": "node electron-builder.js"
"build:mac": "pnpm --filter '@spotlightjs/electron...' build && node electron-builder.js"
},
"dependencies": {
"@sentry/electron": "^5.3.0",
Expand Down

0 comments on commit 3986068

Please sign in to comment.