Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: setting github actions for windows to require node 20

Ilian Sapundshiev3fd28ff9a212
diff --git a/.github/workflows/workflow_scheduled_win_electron_pro.yml b/.github/workflows/workflow_scheduled_win_electron_pro.yml
index 0af040759..cdd2c634c 100644
--- a/.github/workflows/workflow_scheduled_win_electron_pro.yml
+++ b/.github/workflows/workflow_scheduled_win_electron_pro.yml
@@ -22,7 +22,7 @@ jobs:
- name: Configure NPM for TagSpaces Pro
uses: actions/setup-node@v4
with:
- node-version: '22.x'
+ node-version: '20.x'
always-auth: true
registry-url: https://npm.pkg.github.com/
scope: '@tagspacespro'
diff --git a/.github/workflows/workflow_scheduled_win_minio_pro.yml b/.github/workflows/workflow_scheduled_win_minio_pro.yml
index 7b3589076..7f067e6b5 100644
--- a/.github/workflows/workflow_scheduled_win_minio_pro.yml
+++ b/.github/workflows/workflow_scheduled_win_minio_pro.yml
@@ -22,7 +22,7 @@ jobs:
- name: Configure NPM for TagSpaces Pro
uses: actions/setup-node@v4
with:
- node-version: '22.x'
+ node-version: '20.x'
always-auth: true
registry-url: https://npm.pkg.github.com/
scope: '@tagspacespro'
diff --git a/.github/workflows/workflow_scheduled_win_web_pro.yml b/.github/workflows/workflow_scheduled_win_web_pro.yml
index 65f8036ac..b473fb1ad 100644
--- a/.github/workflows/workflow_scheduled_win_web_pro.yml
+++ b/.github/workflows/workflow_scheduled_win_web_pro.yml
@@ -23,7 +23,7 @@ jobs:
- name: Configure NPM for TagSpaces Pro
uses: actions/setup-node@v4
with:
- node-version: '22.x'
+ node-version: '20.x'
always-auth: true
registry-url: https://npm.pkg.github.com/
scope: '@tagspacespro'
diff --git a/package-lock.json b/package-lock.json
index fc016beee..f7e061a49 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -95,7 +95,7 @@
},
"devDependencies": {
"@electron/notarize": "^2.5.0",
- "@electron/rebuild": "^4.0.1",
+ "@electron/rebuild": "^3.7.2",
"@playwright/test": "1.53.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@svgr/webpack": "^8.1.0",
@@ -13871,21 +13871,21 @@
}
},
"node_modules/@electron/rebuild": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@electron/rebuild/-/rebuild-4.0.1.tgz",
- "integrity": "sha512-iMGXb6Ib7H/Q3v+BKZJoETgF9g6KMNZVbsO4b7Dmpgb5qTFqyFTzqW9F3TOSHdybv2vKYKzSS9OiZL+dcJb+1Q==",
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/@electron/rebuild/-/rebuild-3.7.2.tgz",
+ "integrity": "sha512-19/KbIR/DAxbsCkiaGMXIdPnMCJLkcf8AvGnduJtWBs/CBwiAjY1apCqOLVxrXg+rtXFCngbXhBanWjxLUt1Mg==",
"dev": true,
"license": "MIT",
"dependencies": {
+ "@electron/node-gyp": "git+https://github.com/electron/node-gyp.git#06b29aafb7708acef8b3669835c8a7857ebc92d2",
"@malept/cross-spawn-promise": "^2.0.0",
"chalk": "^4.0.0",
"debug": "^4.1.1",
"detect-libc": "^2.0.1",
+ "fs-extra": "^10.0.0",
"got": "^11.7.0",
- "graceful-fs": "^4.2.11",
- "node-abi": "^4.2.0",
- "node-api-version": "^0.2.1",
- "node-gyp": "^11.2.0",
+ "node-abi": "^3.45.0",
+ "node-api-version": "^0.2.0",
"ora": "^5.1.0",
"read-binary-file-arch": "^1.0.6",
"semver": "^7.3.5",
@@ -13896,20 +13896,7 @@
"electron-rebuild": "lib/cli.js"
},
"engines": {
- "node": ">=22.12.0"
- }
- },
- "node_modules/@electron/rebuild/node_modules/node-abi": {
- "version": "4.11.0",
- "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-4.11.0.tgz",
- "integrity": "sha512-QSiqRULRCbxU9nEUBu1oJCwKKjsEdcVEB9+fuoiYMEWJGMJrLMv5xwbKxe5h2en0xCNikTB+f6IIijO+TJc6JQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "semver": "^7.6.3"
- },
- "engines": {
- "node": ">=22.12.0"
+ "node": ">=12.13.0"
}
},
"node_modules/@electron/universal": {
diff --git a/package.json b/package.json
index c9307f391..abbe788bb 100644
--- a/package.json
+++ b/package.json
@@ -249,7 +249,7 @@
},
"devDependencies": {
"@electron/notarize": "^2.5.0",
- "@electron/rebuild": "^4.0.1",
+ "@electron/rebuild": "^3.7.2",
"@playwright/test": "1.53.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@svgr/webpack": "^8.1.0",