[next] stabilize Electron release builds

This commit is contained in:
RememBerBer
2026-07-18 03:11:19 +08:00
parent bd8a3b08a9
commit 25ae1c879e
3 changed files with 19 additions and 4 deletions
+17 -2
View File
@@ -41,6 +41,21 @@ jobs:
with:
python-version: '3.11'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: next/package-lock.json
- name: Install Electron dependencies
working-directory: next
run: npm ci
- name: Test Electron application
working-directory: next
run: npm run check
- name: Validate tag, package version, and release notes
id: release
shell: bash
@@ -111,8 +126,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Test and build
run: npm run check
- name: Build
run: npm run build
- name: Package
run: ${{ matrix.command }}