Skip to content

Add build pipelines

Add build pipelines #5

Workflow file for this run

on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/[email protected]
# See https://stackoverflow.com/questions/69919970/no-module-named-distutils-but-distutils-installed/76691103#76691103
- name: Install dependencies
run: pip install setuptools
- name: Use Node.js
uses: actions/[email protected]
with:
# Node 14 isn't compatible with MacOS 14 ARM64
# TODO: Update app to at least Node 18
node-version: 16
- 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