From ae324fa24d581fbfcab2f725ab940b87e450ed1e Mon Sep 17 00:00:00 2001 From: Pedram Amini Date: Thu, 1 Jan 2026 22:07:20 -0600 Subject: [PATCH] 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. --- .github/workflows/release.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 033ae840..f740597a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index 16060704..5757bd1e 100644 --- a/package.json +++ b/package.json @@ -290,6 +290,6 @@ "vitest": "^4.0.15" }, "engines": { - "node": ">=20.0.0" + "node": ">=22.0.0" } }