Skip to content

Commit b564f2c

Browse files
committed
fix corepack
1 parent 1724bfa commit b564f2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
package: huggingface.js
2323
path_to_docs: huggingface.js/docs
2424
additional_args: --not_python_module
25-
pre_command: corepack enable && cd huggingface.js && pnpm install && pnpm -r build && pnpm --filter doc-internal start
25+
pre_command: npm install -g corepack@latest && corepack enable && cd huggingface.js && pnpm install && pnpm -r build && pnpm --filter doc-internal start
2626
secrets:
2727
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}

.github/workflows/pr-documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
pr_number: ${{ github.event.number }}
2323
package: huggingface.js
2424
path_to_docs: huggingface.js/docs
25-
pre_command: corepack enable && cd huggingface.js && pnpm install && pnpm -r build && pnpm --filter doc-internal start
25+
pre_command: npm install -g corepack@latest && corepack enable && cd huggingface.js && pnpm install && pnpm -r build && pnpm --filter doc-internal start
2626
additional_args: --not_python_module

0 commit comments

Comments
 (0)