settings page and some basic settings #59
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: | |
| push: | |
| branches: | |
| - electron | |
| paths: | |
| - "**.ts" | |
| - "**.js" | |
| - "**.mjs" | |
| - "**.json" | |
| - "**.svelte" | |
| - ".github/workflows/build.yaml" | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: "**/package-lock.json" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run lint and typecheck | |
| if: matrix.os == 'ubuntu-latest' | |
| run: npm run lint && npm run typecheck | |
| - name: Build for Linux | |
| if: matrix.os == 'ubuntu-latest' | |
| run: npm run build:linux | |
| - name: Build for macOS | |
| if: matrix.os == 'macos-latest' | |
| run: npm run build:mac | |
| - name: Build for Windows | |
| if: matrix.os == 'windows-latest' | |
| run: npm run build:win | |
| - name: Upload Linux installer | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: linux | |
| path: ./dist/rt-*-linux.deb | |
| compression-level: 0 | |
| - name: Upload macOS installer | |
| if: matrix.os == 'macos-latest' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: mac | |
| path: ./dist/rt-*-mac.dmg | |
| compression-level: 0 | |
| - name: Upload Windows installer | |
| if: matrix.os == 'windows-latest' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: windows | |
| path: ./dist/rt-*-win.exe | |
| compression-level: 0 |