Skip to content

Commit f6e635c

Browse files
authored
ci[patch]: Fix passing validate notebook args to script (#6567)
1 parent 42631e4 commit f6e635c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/validate_new_notebooks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if [ -n "$notebooks" ]; then
5353
for notebook in $notebooks; do
5454
absolute_path="$GITHUB_WORKSPACE/$notebook"
55-
yarn notebook:validate "$absolute_path"
55+
yarn notebook:validate -- "$absolute_path"
5656
done
5757
else
5858
echo "No notebooks in docs/core_docs to validate."

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"test:standard:int": "turbo test:standard:int",
3838
"test:standard": "yarn test:standard:unit && yarn test:standard:int",
3939
"example": "yarn workspace examples start",
40-
"notebook:validate": "turbo --filter=@langchain/scripts notebook:validate --",
40+
"notebook:validate": "turbo --filter=@langchain/scripts notebook:validate",
4141
"precommit": "turbo precommit",
4242
"docs": "yarn workspace core_docs start",
4343
"docs:api_refs": "yarn workspace api_refs start",

0 commit comments

Comments
 (0)