add prod dryrun GH action
This commit is contained in:
parent
c039bce0c3
commit
f9d2999e8c
1 changed files with 27 additions and 0 deletions
27
.github/workflows/prod-test.yml
vendored
Normal file
27
.github/workflows/prod-test.yml
vendored
Normal 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
|
||||||
Loading…
Reference in a new issue