Add build pipelines #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Use Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 16.20.2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build app (macOS x64) | |
run: npm run build-mac-x64 | |
- name: Build app (macOS arm64) | |
run: npm run build-mac-arm64 |