chore: add rolling release

This commit is contained in:
zhom
2025-05-29 22:53:18 +04:00
parent 854f1b4742
commit cf57b2a043
4 changed files with 96 additions and 72 deletions
+1 -34
View File
@@ -89,45 +89,12 @@ jobs:
- name: Install nodecar dependencies
working-directory: ./nodecar
run: |
echo "DEBUG: Installing nodecar dependencies..."
pnpm install --ignore-workspace --frozen-lockfile
echo "DEBUG: Current directory: $(pwd)"
echo "DEBUG: Contents of nodecar directory:"
ls -la
echo "DEBUG: Checking if package.json exists:"
cat package.json | head -20
echo "DEBUG: Checking pnpm version and cache:"
pnpm --version
echo "DEBUG: Running pnpm install..."
pnpm install --frozen-lockfile
echo "DEBUG: After pnpm install - checking node_modules:"
ls -la node_modules/ | head -20
echo "DEBUG: Checking what TypeScript can resolve:"
npx tsc --noEmit --listFiles | head -20 || echo "TypeScript check failed"
pnpm install --ignore-workspace --frozen-lockfile
- name: Build nodecar sidecar
shell: bash
working-directory: ./nodecar
run: |
echo "DEBUG: Building nodecar sidecar..."
echo "DEBUG: Current directory: $(pwd)"
echo "DEBUG: Contents of nodecar directory:"
ls -la
echo "DEBUG: Checking if node_modules still exists:"
ls -la node_modules/ | head -10 || echo "node_modules not found!"
echo "DEBUG: Checking TypeScript config:"
cat tsconfig.json
echo "DEBUG: Checking src directory:"
ls -la src/
echo "DEBUG: Testing individual imports:"
echo "import { program } from 'commander';" > test-import.ts
npx tsc --noEmit test-import.ts || echo "Commander import failed"
echo "import getPort from 'get-port';" > test-import.ts
npx tsc --noEmit test-import.ts || echo "get-port import failed"
echo "import * as ProxyChain from 'proxy-chain';" > test-import.ts
npx tsc --noEmit test-import.ts || echo "proxy-chain import failed"
rm test-import.ts
echo "DEBUG: Running nodecar build script..."
pnpm run ${{ matrix.nodecar_script }}
- name: Copy nodecar binary to Tauri binaries