Bump electron-builder from 25.0.5 to 25.1.7 #1201
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & release | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- 'master' | |
workflow_dispatch: | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build-release: | |
name: Build and release the Electron App | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-latest, ubuntu-latest ] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Build | |
run: | | |
npm install | |
npm run build | |
npm run test | |
- name: Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true | |
- name: Distribute Mac OS X and Windows binaries | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: | | |
npm run dist -- --mac --win | |
- name: Distribute Linux binaries | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
npm run dist |