INIT repository #4
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 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run build:vite | |
binaries: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
- os: macos-latest | |
- os: windows-latest | |
name: Generate binaries for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
env: | |
DEBUG: 'electron-forge:*' | |
steps: | |
- if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: sudo apt-get install -y rpm | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
- run: npm ci | |
- run: npm run package | |
- run: npm run make |