Skip to content

Commit fe1e00a

Browse files
authored
Merge pull request #9469 from ever-co/develop
Stage
2 parents 8f0e43f + 1f12f1d commit fe1e00a

12 files changed

+24
-24
lines changed

.github/workflows/agent-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/agent-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/desktop-app-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/desktop-app-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/desktop-timer-app-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/desktop-timer-app-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/server-api-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/server-api-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/server-mcp-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

.github/workflows/server-mcp-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Selective cleanup (preserve .nx/cache)
326326
shell: powershell
327327
run: |
328-
# Stop NX daemon first to release file locks before cleanup
329-
npx nx daemon --stop 2>$null
328+
# Stop NX daemon first to release file locks before cleanup (guard for fresh runners without Node)
329+
if (Get-Command npx -ErrorAction SilentlyContinue) { npx nx daemon --stop 2> }$null
330330
# Remove build artifacts but keep NX cache for faster rebuilds
331331
if (Test-Path "dist") { Remove-Item -Recurse -Force "dist" }
332332
if (Test-Path "node_modules") { Remove-Item -Recurse -Force "node_modules" }

0 commit comments

Comments
 (0)