Skip to content

Commit bfa5e25

Browse files
committed
Github Actions for macOS builds
1 parent f4903cc commit bfa5e25

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/build-macos.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build for macOS
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
os: [macos-15-arm64, macos-15]
10+
11+
runs-on: ${{ matrix.os }}
12+
13+
steps:
14+
- name: Checkout Repo
15+
uses: actions/checkout@v3
16+
17+
- name: Cache NodeJS modules
18+
uses: actions/cache@v4
19+
with:
20+
path: |
21+
./node_modules
22+
./app/node_modules
23+
key: ${{ runner.OS }}-node-${{ hashFiles('yarn.lock') }}-${{ hashFiles('app/package-lock.json') }}
24+
25+
- name: Install Dependencies
26+
run: npm ci
27+
28+
- name: Setup Keychain
29+
run: npm run ci-setup-mac-keychain
30+
31+
- name: Lint
32+
run: npm run lint
33+
34+
- name: Build
35+
run: DEBUG=electron-packager,electron-osx-sign npm run build

0 commit comments

Comments
 (0)