Skip to content

Create build.yml

Create build.yml #2

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- name: Install dependancies
run: |
npm install --save-dev electron-packager
npm install
- name: Building
run: npm run build
- name: Compressing
run: |
ls -alh build/the-power-ui-darwin-arm64
pwd
tar -czvf the-power-ui.app.tar.gz build/the-power-ui-darwin-arm64/the-power-ui.app