c1d36d2b03
Build still fails on macOS, likely because the native dependency does not support arm64. Republished the dependency with the optional native components removed to solve the problem.
35 lines
668 B
YAML
35 lines
668 B
YAML
name: Build/release
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
shell: bash
|
|
|
|
- name: Build
|
|
env:
|
|
GH_TOKEN: ${{ secrets.github_token }}
|
|
run: npm run dist
|
|
shell: bash |