ci: install mkdocs-insiders only for internal PRs (#3422)

This commit is contained in:
Vadym Barda
2025-02-13 12:24:30 -05:00
committed by GitHub
parent b310ce07bc
commit da96925ecb
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -78,9 +78,14 @@ jobs:
pytest \
pytest-check-links \
GitPython \
"git+https://${GITHUB_TOKEN}@github.com/langchain-ai/mkdocs-material-insiders.git" \
"git+https://github.com/benjamincburns/markdown-exec.git@cc0d39d737e5ffd4b83d23cd8729d7ea16e363c8"
# we run this installation only for internal PRs
# as GITHUB_TOKEN is not available for PRs from outside contributors
if [ -n "${GITHUB_TOKEN}" ]; then
poetry run pip install "git+https://${GITHUB_TOKEN}@github.com/langchain-ai/mkdocs-material-insiders.git"
fi
poetry run jupyter kernelspec list
poetry run python3 -m ipykernel install --user --name=python3
npm install -g tslab