Create test workflow for linux electron build

This commit is contained in:
Snarling 2023-03-01 00:45:52 -05:00 committed by GitHub
parent 75481aa195
commit 26c7556091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
.github/workflows/electronbuild.yaml vendored Normal file

@ -0,0 +1,29 @@
name: "Test building electron in ubuntu 20.04"
on:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run build
- run: npm run electron
- uses: actions/upload-artifact@v3
with:
path: ".build"