From 710bc87b8033a809ce4595e92b915edeb1f1061f Mon Sep 17 00:00:00 2001 From: will wade Date: Mon, 28 Oct 2024 16:46:52 +0000 Subject: [PATCH] Create build.yaml --- .github/workflows/build.yaml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..0720a87 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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