Skip to content

ci: add GitHub Actions workflow for tests and macOS build #1

ci: add GitHub Actions workflow for tests and macOS build

ci: add GitHub Actions workflow for tests and macOS build #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install
run: npm ci
- name: Verify
run: npm run ci:verify
mac-package-smoke:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Run tests
run: npm test
- name: Build macOS release smoke artifact
env:
ELECTRON_BUILDER_CACHE: ${{ runner.temp }}/electron-builder-cache
run: npm run dist:mac