From fb6112f7c1757782f3c187ac1ff7f75368bb4a1f Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 29 May 2025 22:37:30 +0400 Subject: [PATCH] chore: specify current directory as the workspace root --- .github/workflows/lint-rs.yml | 8 +------- .github/workflows/release.yml | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/lint-rs.yml b/.github/workflows/lint-rs.yml index 0279a18..4599c07 100644 --- a/.github/workflows/lint-rs.yml +++ b/.github/workflows/lint-rs.yml @@ -59,7 +59,7 @@ jobs: working-directory: ./nodecar run: | echo "DEBUG: Installing nodecar dependencies..." - pnpm install --frozen-lockfile + pnpm install --frozen-lockfile --workspace-root=. echo "DEBUG: Current directory: $(pwd)" echo "DEBUG: Contents of nodecar directory:" ls -la @@ -71,12 +71,6 @@ jobs: pnpm install --frozen-lockfile echo "DEBUG: After pnpm install - checking node_modules:" ls -la node_modules/ | head -20 - echo "DEBUG: Checking if specific dependencies exist:" - ls -la node_modules/commander || echo "commander not found" - ls -la node_modules/get-port || echo "get-port not found" - ls -la node_modules/proxy-chain || echo "proxy-chain not found" - echo "DEBUG: Checking get-port package.json type:" - cat node_modules/get-port/package.json | grep -E '"type":|"main":|"module":|"exports":' || echo "No ESM info found" echo "DEBUG: Checking what TypeScript can resolve:" npx tsc --noEmit --listFiles | head -20 || echo "TypeScript check failed" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25b6135..7562cff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,7 @@ jobs: working-directory: ./nodecar run: | echo "DEBUG: Installing nodecar dependencies..." - pnpm install --frozen-lockfile + pnpm install --frozen-lockfile --workspace-root=. echo "DEBUG: Current directory: $(pwd)" echo "DEBUG: Contents of nodecar directory:" ls -la @@ -102,12 +102,6 @@ jobs: pnpm install --frozen-lockfile echo "DEBUG: After pnpm install - checking node_modules:" ls -la node_modules/ | head -20 - echo "DEBUG: Checking if specific dependencies exist:" - ls -la node_modules/commander || echo "commander not found" - ls -la node_modules/get-port || echo "get-port not found" - ls -la node_modules/proxy-chain || echo "proxy-chain not found" - echo "DEBUG: Checking get-port package.json type:" - cat node_modules/get-port/package.json | grep -E '"type":|"main":|"module":|"exports":' || echo "No ESM info found" echo "DEBUG: Checking what TypeScript can resolve:" npx tsc --noEmit --listFiles | head -20 || echo "TypeScript check failed"