add electron build test

This commit is contained in:
bakedpotatolord 2025-05-03 10:44:32 -06:00
commit c039bce0c3

View file

@ -1,4 +1,4 @@
name: Test Production Build name: Test Electron App Production Build
on: on:
# Runs on pushes targeting the default branch # Runs on pushes targeting the default branch
@ -9,16 +9,26 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
steps: strategy:
- name: Set up bun matrix:
uses: oven-sh/setup-bun@v1 os: [ubuntu-latest, macos-latest, windows-latest]
with:
bun-version: latest steps:
- name: Checkout - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup and Install dependencies
run: bun run setup - name: Set up Node.js
- name: run production mode uses: actions/setup-node@v4
run: bun run prod with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Build Electron app
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run build