From 6464384e7faed81d8bfcf8f7679fadda4c203af4 Mon Sep 17 00:00:00 2001 From: Daniel Rammer Date: Mon, 13 Apr 2026 13:49:45 -0500 Subject: [PATCH] Fix Node 18 CI docs step by including optional dependencies The "Check docs" step ran `npm ci` without `--include=optional`, which removed @huggingface/transformers. Typedoc then failed because it couldn't resolve the type imports from that package. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bc200c7f6..8b4a966ab 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -126,7 +126,7 @@ jobs: # We run this as part of the job because the binary needs to be built # first to export the types of the native code. set -e - npm ci + npm ci --include=optional npm run docs if ! git diff --exit-code -- ../ ':(exclude)Cargo.lock'; then echo "Docs need to be updated"