Skip to content

Build(deps-dev): Bump electron from 32.1.2 to 33.0.2 #4670

Build(deps-dev): Bump electron from 32.1.2 to 33.0.2

Build(deps-dev): Bump electron from 32.1.2 to 33.0.2 #4670

Workflow file for this run

name: macOS Build
on:
push:
branches:
- "*"
tags:
- "*"
pull_request:
jobs:
build:
runs-on: macos-14
strategy:
matrix:
node: ["22"]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Lint
run: pnpm run lint
- name: Sharp Multiarch Rebuild
run: pnpm install --config.platform=darwin --config.arch=x64 sharp && pnpm --config.platform=darwin --config.arch=arm64 rebuild sharp
- name: Build
if: github.ref == 'refs/heads/main'
run: pnpm run build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Build
if: github.ref != 'refs/heads/main'
run: pnpm run build --publish=never
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- uses: actions/upload-artifact@v4
name: Upload DMG
with:
name: WeakAuras-Companion-CI-dmg
path: release/**/*-mac-universal.dmg
- uses: actions/upload-artifact@v4
name: Upload ZIP
with:
name: WeakAuras-Companion-CI-zip
path: release/**/*-mac-universal.zip