From 357a869ef5ad4ef1f512c8e66ea8d696ac5f9740 Mon Sep 17 00:00:00 2001 From: jliddev Date: Sun, 22 Nov 2020 23:35:38 -0600 Subject: [PATCH] test build --- .github/workflows/electron-build.yml | 48 ++++++++++++++++++++++++++++ .github/workflows/locale-test.yml | 2 -- 2 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/electron-build.yml diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml new file mode 100644 index 00000000..304820a2 --- /dev/null +++ b/.github/workflows/electron-build.yml @@ -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 + + \ No newline at end of file diff --git a/.github/workflows/locale-test.yml b/.github/workflows/locale-test.yml index b118ea1b..cb4345fa 100644 --- a/.github/workflows/locale-test.yml +++ b/.github/workflows/locale-test.yml @@ -26,8 +26,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - - - name: Install Angular CLI run: npm install -g @angular/cli