add prod dryrun GH action

This commit is contained in:
bakedpotatolord 2025-05-03 10:53:39 -06:00
commit f9d2999e8c

27
.github/workflows/prod-test.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Test Electron App Production Build
on:
# Runs on pushes targeting the default branch
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup And Install dependencies
run: npm setup
- name: dry run production build
run: npm run prod --dryrun