Skip to content

Create build.yaml

Create build.yaml #1

Workflow file for this run

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