Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

chore(deps): bump @theia/navigator from 1.55.0 to 1.56.0 #19

chore(deps): bump @theia/navigator from 1.55.0 to 1.56.0

chore(deps): bump @theia/navigator from 1.55.0 to 1.56.0 #19

Workflow file for this run

name: Build Electron
on:
workflow_dispatch:
release:
push:
paths:
- 'electron-app/**'
- '.github/workflows/electron.yml'
jobs:
build:
strategy:
matrix:
node: [ 20 ]
os:
- ubuntu-latest
# - windows-latest
- macos-latest # M1 only
- mac-os-13 # to get AMD64
name: Electron ${{ matrix.os }} Node ${{ matrix.node}}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: 'mac: fixup python'
if: runner.os == 'macOS'
run: brew install python-setuptools
- name: Cache npm repository
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ runner.os }}-electron-${{ hashFiles('**/package.json') }}
restore-keys: |
npm-${{ runner.os }}-electron-
npm-
- run: |
npm ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: build electron
run: |
cd electron-app
npm run bundle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: package electron
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
run: |
cd electron-app
npm run package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - TODO: lint
# - TODO: test
- name: Upload electron artifact
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v4
with:
name: keyman-${{ matrix.os }}-node${{ matrix.node }}
path: electron-app/dist/keyman*