From 21b15eb7b4ea4e40c5c18f3b803db4e2916b878a Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Mon, 28 Jul 2025 16:17:08 -0700 Subject: [PATCH] CI fixes --- .github/actions/setup-packages/action.yml | 4 +++- packages/hub/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-packages/action.yml b/.github/actions/setup-packages/action.yml index 9cf5c5ad1..dc0462d70 100644 --- a/.github/actions/setup-packages/action.yml +++ b/.github/actions/setup-packages/action.yml @@ -23,10 +23,12 @@ runs: shell: bash run: | for package_dir in packages/*/; do - if [ -f "$package_dir/package.json" ]; then + if [ -f "$package_dir/package.json" ] && [ ! -d "$package_dir/node_modules" ]; then echo "Installing dependencies for $package_dir" cd "$package_dir" npm ci cd - > /dev/null + elif [ -d "$package_dir/node_modules" ]; then + echo "Using cached dependencies for $package_dir" fi done \ No newline at end of file diff --git a/packages/hub/package.json b/packages/hub/package.json index e6f3ab8d3..af9db232c 100644 --- a/packages/hub/package.json +++ b/packages/hub/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "type": "module", "scripts": { - "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", + "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests", "build": "tsc" }, "author": "Continue Dev, Inc.",