test build

This commit is contained in:
jliddev
2020-11-22 23:35:38 -06:00
parent c1cebab5f2
commit 357a869ef5
2 changed files with 48 additions and 2 deletions

48
.github/workflows/electron-build.yml vendored Normal file
View File

@@ -0,0 +1,48 @@
name: Build WowUp Electron
on:
- push
# create:
# tags:
# - v*
jobs:
create-release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [ 14.x ]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Angular CLI
run: npm install -g @angular/cli
- name: Build App
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
run: |
cd ./wowup-electron
npm i

View File

@@ -26,8 +26,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Angular CLI
run: npm install -g @angular/cli