Skip to content

fixed some little things #126

fixed some little things

fixed some little things #126

Workflow file for this run

name: Build Electron app
on:
push:
branches:
- main
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 22
- name: Install Dependencies
run: npm install -g yarn
- name: Install yarn
run: yarn install
- name: install-snapcraft
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y snapd
sudo snap install core
sudo snap install snapcraft --classic
- name: build-linux
if: matrix.os == 'ubuntu-latest'
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: yarn run build:linux
- name: build-mac
if: matrix.os == 'macos-latest'
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: yarn run build:mac
- name: build-win
if: matrix.os == 'windows-latest'
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: yarn run build:win