ci: add electron build to CI
This commit is contained in:
parent
a9cf0b6cda
commit
0a7e6fba8b
1 changed files with 26 additions and 0 deletions
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
|
@ -50,3 +50,29 @@ jobs:
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
- name: Build Web
|
- name: Build Web
|
||||||
run: ./bin/package-browser
|
run: ./bin/package-browser
|
||||||
|
|
||||||
|
electron:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
- windows-latest
|
||||||
|
- macos-latest
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install node
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
- name: Cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
id: cache
|
||||||
|
with:
|
||||||
|
path: '**/node_modules'
|
||||||
|
key: yarn-v1-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
- name: Install
|
||||||
|
run: yarn --immutable
|
||||||
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
|
- name: Build Electron
|
||||||
|
run: ./bin/package
|
||||||
|
|
Loading…
Reference in a new issue