Skip to content

Fix docs workflow dependency install#660

Merged
ValentinH merged 1 commit into
mainfrom
agent/fix-docs-deploy-install
Jul 8, 2026
Merged

Fix docs workflow dependency install#660
ValentinH merged 1 commit into
mainfrom
agent/fix-docs-deploy-install

Conversation

@ValentinH

Copy link
Copy Markdown
Owner

Summary

  • fix the docs deploy workflow install step to use --ignore-workspace
  • ensures docs dependencies are installed into docs/node_modules, so docusaurus deploy can find the local binary

Root cause

The failed run installed docs dependencies from inside the root pnpm workspace. The install completed, but docs/node_modules/.bin/docusaurus was missing, so the deploy step failed with sh: 1: docusaurus: not found.

Failed run: https://github.com/ValentinH/react-easy-crop/actions/runs/28928421399/job/85821389551

Validation

  • parsed .github/workflows/deploy-docs.yml as YAML
  • reproduced the missing docusaurus binary with the old command in a clean archive of origin/main
  • verified pnpm --dir docs install --ignore-workspace --no-frozen-lockfile --ignore-scripts creates docs/node_modules/.bin/docusaurus
  • verified pnpm --dir docs build succeeds after the fixed install

@ValentinH ValentinH marked this pull request as ready for review July 8, 2026 08:29
@ValentinH ValentinH added the skip-release Preserve the current version when merged label Jul 8, 2026
@ValentinH ValentinH merged commit 961413c into main Jul 8, 2026
4 checks passed
@ValentinH ValentinH deleted the agent/fix-docs-deploy-install branch July 8, 2026 08:29
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

🚀 PR was released in v6.2.2 🚀

@github-actions github-actions Bot added the released This issue/pull request has been released. label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released This issue/pull request has been released. skip-release Preserve the current version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant