Skip to content

Multi OS/Node

Multi OS/Node #14

Workflow file for this run

name: Multi OS/Node
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1' # Every Monday at 6 AM UTC
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: [18.x, 20.x]
steps:
- uses: actions/[email protected]
- name: Set up Node.js ${{ matrix.node }} on ${{ matrix.os }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.11'
- name: Install dependencies and build
run: yarn --skip-integrity-check --network-timeout 100000
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
- name: Build electron
run: yarn electron build
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Build browser
run: yarn browser build
env:
NODE_OPTIONS: --max_old_space_size=4096