mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
42 lines
796 B
YAML
42 lines
796 B
YAML
name: electron-drag-click
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Use Node.js 20.x
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20.x
|
|
cache: 'npm'
|
|
|
|
- name: Install Xcode Command Line Tools
|
|
run: |
|
|
xcode-select --install || true
|
|
|
|
- name: Install setuptools
|
|
run: brew install python-setuptools
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Verify native module build
|
|
run: npm run build
|
|
|
|
- name: Upload build artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: native-module-20.x
|
|
path: |
|
|
build/
|
|
*.node
|
|
retention-days: 7
|