Showing the changes to .github (1 of 47 files). Show all
Unified · Split
| @@ -46,6 +46,14 @@ jobs: · 45 unmodified lines | ||
| 46 | 46 | - name: Install dependencies |
| 47 | 47 | run: bun install --frozen-lockfile |
| 48 | 48 | |
| 49 | + - name: Ensure Electron runtime is installed | |
| 50 | + run: | | |
| 51 | + if ! node -e "require('./apps/desktop/node_modules/electron')" >/dev/null 2>&1; then | |
| 52 | + rm -rf apps/desktop/node_modules/electron/dist apps/desktop/node_modules/electron/path.txt | |
| 53 | + bun apps/desktop/node_modules/electron/install.js | |
| 54 | + fi | |
| 55 | + node -e "require('./apps/desktop/node_modules/electron')" | |
| 56 | + | |
| 49 | 57 | - name: Format |
| 50 | 58 | run: bun run fmt:check |
| 51 | 59 | |