mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
fix: upgrade Node.js to v22 for @electron/notarize compatibility
@electron/notarize@3.1.1 requires Node >= 22.12.0, but the workflow was using Node 20. Updated all setup-node steps to use Node 22.
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -46,14 +46,14 @@ jobs:
|
||||
if: matrix.platform == 'linux' || matrix.platform == 'linux-arm64'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '22'
|
||||
# Explicitly no cache to prevent cross-architecture contamination
|
||||
|
||||
- name: Setup Node.js (non-Linux - with cache)
|
||||
if: matrix.platform != 'linux' && matrix.platform != 'linux-arm64'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
# Use architecture-specific cache for Linux builds
|
||||
@@ -746,7 +746,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '22'
|
||||
|
||||
- name: Sync release notes to docs
|
||||
run: node scripts/sync-release-notes.mjs
|
||||
|
||||
@@ -290,6 +290,6 @@
|
||||
"vitest": "^4.0.15"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=22.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user