Skip to content

Bump app-builder-lib and electron-builder #275

Bump app-builder-lib and electron-builder

Bump app-builder-lib and electron-builder #275

Workflow file for this run

name: Build artifacts
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- run: npm i --force -g [email protected]
- run: npm i --force -g [email protected]
- run: npm i --force -g [email protected]
- run: npm ci
- run: npm run lint
- run: rm -rf build || true; mkdir build
- run: npm run build:dependencies
env:
NODE_ENV: production
- run: npm run build
env:
NODE_ENV: production
release-linux:
runs-on: ubuntu-latest
needs: build
permissions: write-all
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: rm -rf build || true; mkdir build
- run: npm run build:dependencies
env:
NODE_ENV: production
- run: npm run build
env:
NODE_ENV: production
- run: npm run package:linux
env:
# This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USE_HARD_LINKS: false
NODE_ENV: production
release-windows:
runs-on: windows-2019
needs: build
permissions: write-all
steps:
- uses: actions/checkout@v2
#- run: echo "${{ github.ref }}"
- run: npm i
- run: mkdir build
- run: npm run build:dependencies
env:
NODE_ENV: production
- run: npm run build
env:
NODE_ENV: production
- run: npm run package:windows
env:
# This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USE_HARD_LINKS: false
NODE_ENV: production