xet: Commit operation to edit part of file (optimized for handling edits at beginning of file) #685
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build PR Documentation | |
on: | |
pull_request: | |
paths: | |
- "README.md" | |
- "docs/**" | |
- "packages/hub/README.md" | |
- "packages/doc-internal/**" | |
- "packages/inference/README.md" | |
- "packages/tiny-agents/README.md" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main | |
with: | |
commit_sha: ${{ github.sha }} | |
pr_number: ${{ github.event.number }} | |
package: huggingface.js | |
path_to_docs: huggingface.js/docs | |
pre_command: npm install -g corepack@latest && corepack enable && cd huggingface.js && pnpm install && pnpm -r build && pnpm --filter doc-internal start | |
additional_args: --not_python_module |