Skip to content

electron@19

electron@19 #140

Workflow file for this run

name: build
on:
push:
# enable next line to limit branches to run
branches: ["master"]
pull_request:
# enable next line to limit branches to run
# branches: [ "master" ]
jobs:
build:
strategy:
matrix:
os: [windows-2022, ubuntu-24.04]
node-version: [16.x, 18.x, 20.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# not needed currently, but leaving here for future use
# - uses: actions/setup-python@v4
# with:
# python-version: '2.7.18'
- name: boost
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get update && sudo apt-get install -yq libboost-dev
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm ci
npm run build
- name: Package
run: |
npm run dist
- name: Upload
uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.os }}
path: dist/
retention-days: 1