-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (30 loc) · 1.22 KB
/
release-macos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: release-macos
on:
push:
branches: [feat/github-actions-settings]
jobs:
build:
runs-on: macos-latest
steps:
- name: release/checkout-repo
uses: actions/checkout@v3
- name: release/setup-node
uses: actions/setup-node@v3
with:
node-version-file: "package.json"
cache: "npm"
cache-dependency-path: package-lock.json
- name: release/install-dependencies
run: |
brew install yq rename
npm ci
- name: release/test
run: npm run test:unit-ci
- name: release/build
env:
#APPLEID: ${{ secrets.MM_DESKTOP_MAC_INSTALLER_APPLE_ID }}
#APPLEIDPASS: ${{ secrets.MM_DESKTOP_MAC_INSTALLER_APPLE_ID_PASS }}
#CSC_FOR_PULL_REQUEST: true
#CSC_KEY_PASSWORD: ${{ secrets.MM_DESKTOP_MAC_INSTALLER_CSC_KEY_PASSWORD }}
#CSC_LINK: ${{ secrets.MM_DESKTOP_MAC_INSTALLER_CSC_LINK }}
run: ./node_modules/.bin/npm-run-all build-prod && ./node_modules/.bin/electron-builder --mac --x64 --arm64 --publish=never