Fixes macOS system-wide lag caused by old electron version #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build on PR | |
| on: | |
| pull_request: | |
| types: ["opened"] | |
| jobs: | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: v18.19.0 | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Build the app | |
| shell: bash | |
| run: | | |
| npm install -g pnpm | |
| pnpm install | |
| pnpm build:windows | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: v18.19.0 | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Fix apt and install builder dependencies | |
| shell: bash | |
| run: | | |
| sudo rm /var/lib/apt/lists/* || true | |
| sudo apt update | |
| sudo apt install flatpak -y | |
| sudo apt install flatpak-builder -y | |
| sudo apt install elfutils -y | |
| flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo | |
| - name: Build the app | |
| shell: bash | |
| run: | | |
| npm install -g pnpm | |
| pnpm install | |
| pnpm build:linux | |
| build-mac: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: v18.19.0 | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Build the app | |
| shell: bash | |
| run: | | |
| npm install -g pnpm | |
| pnpm install | |
| pnpm build:mac |