Skip to content

Commit

Permalink
Create build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
willwade committed Oct 28, 2024
1 parent 0c26a8b commit 710bc87
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build Electron App

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Define the platforms you want to build for
os: [windows-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: |
cd nodejs/sender-monitor
npm install
- name: Build Electron App
run: |
cd nodejs/sender-monitor
npm run package
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: OWD-Utils
path: nodejs/sender-monitor/dist

0 comments on commit 710bc87

Please sign in to comment.