[Documentation Code Testing] build node sdk in release (#307)

This commit is contained in:
Tevin Wang
2023-07-14 12:46:48 -07:00
committed by GitHub
parent a8a50591d7
commit ad18826579
2 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ const excludedFiles = [
"../src/embedding.md",
"../src/examples/serverless_lancedb_with_s3_and_lambda.md",
"../src/examples/serverless_qa_bot_with_modal_and_langchain.md",
"../src/examples/transformerjs_embedding_search_nodejs.md",
"../src/examples/youtube_transcript_bot_with_nodejs.md",
];
const nodePrefix = "javascript";
@@ -48,4 +49,4 @@ for (const file of files.filter((file) => !excludedFiles.includes(file))) {
fs.mkdirSync(path.dirname(outPath), { recursive: true });
fs.writeFileSync(outPath, asyncPrefix + "\n" + lines.join("\n") + asyncSuffix);
}
}
}