Skip to content

update BASE_REST_API URL and change macOS build environment to latest… #27

update BASE_REST_API URL and change macOS build environment to latest…

update BASE_REST_API URL and change macOS build environment to latest… #27

Workflow file for this run

name: App build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-macos:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Setup dependencies
run: npm install
- name: Run Build for macOS
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run transpile:electron && npm run build && npx electron-builder --mac --x64 --publish=always
build-windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Setup dependencies
run: npm install
- name: Run Build for Windows
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run transpile:electron && npm run build && npx electron-builder --win --x64 --publish=always