fix(ci): align Node v22.22.3 pins and unblock pre-push tests
All checks were successful
Tests / test (push) Successful in 1m8s
All checks were successful
Tests / test (push) Successful in 1m8s
Sync install scripts and CI container image with NODE_VERSION, regenerate Electron Config.html, and skip gitignored portable/app in origin scan. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -18,7 +18,7 @@ NC='\033[0m'
|
||||
BOLD='\033[1m'
|
||||
DIM='\033[2m'
|
||||
|
||||
NODE_VER="$(tr -d "[:space:]" < "$UCLAW_DIR/NODE_VERSION" 2>/dev/null || tr -d "[:space:]" < "$UCLAW_DIR/../NODE_VERSION" 2>/dev/null || echo v22.22.1)"
|
||||
NODE_VER="$(tr -d "[:space:]" < "$UCLAW_DIR/NODE_VERSION" 2>/dev/null || tr -d "[:space:]" < "$UCLAW_DIR/../NODE_VERSION" 2>/dev/null || echo v22.22.3)"
|
||||
MIRROR="https://registry.npmjs.org"
|
||||
NODE_MIRROR="https://nodejs.org/dist"
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ set "APP_DIR=%UCLAW_DIR%app"
|
||||
set "INSTALL_TARGET=%USERPROFILE%\.uclaw"
|
||||
set "MIRROR=https://registry.npmjs.org"
|
||||
set "NODE_MIRROR=https://nodejs.org/dist"
|
||||
set "NODE_VER=v22.22.1"
|
||||
set "NODE_VER=v22.22.3"
|
||||
|
||||
REM ---- Step 1: Check environment ----
|
||||
echo [1/4] Checking
|
||||
|
||||
@@ -9,7 +9,7 @@ set "CORE_DIR=%APP_DIR%\core"
|
||||
set "RUNTIME_DIR=%APP_DIR%\runtime"
|
||||
set "MIRROR=https://registry.npmjs.org"
|
||||
set "NODE_MIRROR=https://nodejs.org/dist"
|
||||
set "NODE_VERSION=v22.22.1"
|
||||
set "NODE_VERSION=v22.22.3"
|
||||
set "ALL_PLATFORMS=false"
|
||||
if "%~1"=="--all-platforms" set "ALL_PLATFORMS=true"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ $runtimeDir = Join-Path $appDir "runtime"
|
||||
|
||||
$mirror = "https://registry.npmjs.org"
|
||||
$nodeMirror = "https://nodejs.org/dist"
|
||||
$nodeVersion = "v22.22.1"
|
||||
$nodeVersion = "v22.22.3"
|
||||
|
||||
function Write-Step {
|
||||
param(
|
||||
|
||||
@@ -13,7 +13,7 @@ CORE_DIR="$APP_DIR/core"
|
||||
RUNTIME_DIR="$APP_DIR/runtime"
|
||||
MIRROR="https://registry.npmjs.org"
|
||||
NODE_MIRROR="https://nodejs.org/dist"
|
||||
NODE_VERSION="$(tr -d "[:space:]" < "$SCRIPT_DIR/NODE_VERSION" 2>/dev/null || tr -d "[:space:]" < "$SCRIPT_DIR/../NODE_VERSION" 2>/dev/null || echo v22.22.1)"
|
||||
NODE_VERSION="$(tr -d "[:space:]" < "$SCRIPT_DIR/NODE_VERSION" 2>/dev/null || tr -d "[:space:]" < "$SCRIPT_DIR/../NODE_VERSION" 2>/dev/null || echo v22.22.3)"
|
||||
ALL_PLATFORMS=false
|
||||
[ "$1" = "--all-platforms" ] && ALL_PLATFORMS=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user