Skip to content

Conversation

@Rajdeepc
Copy link
Contributor

@Rajdeepc Rajdeepc commented Nov 13, 2025

Description

Documentation publishing workflow failing in CI with publishing error:

Usage Error: Couldn't find a script named "gh-pages"

Root Cause

After monorepo restructuring, incorrect invocation of gh-pages package binary.

Solution

- yarn gh-pages -d 1st-gen/projects/documentation/dist ...
+ cd 1st-gen && npx gh-pages -d projects/documentation/dist ...

Why npx?

gh-pages is a dev dependency, not a yarn script. yarn gh-pages looks for a script in package.json, while npx gh-pages executes the binary from node_modules/.bin/.


Author's checklist

  • I have read the CONTRIBUTING and PULL_REQUESTS documents.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices
  • I have added automated tests to cover my changes.
  • I have included a well-written changeset if my change needs to be published.
  • I have included updated documentation if my change required it.

Reviewer's checklist

  • Includes a Github Issue with appropriate flag or Jira ticket number without a link
  • Includes thoughtfully written changeset if changes suggested include patch, minor, or major features
  • Automated tests cover all use cases and follow best practices for writing
  • Validated on all supported browsers
  • All VRTs are approved before the author can update Golden Hash

Manual review test cases

  • Descriptive Test Statement

    1. Go here
    2. Do this action
    3. Expect this result
  • Descriptive Test Statement

    1. Go here
    2. Do this action
    3. Expect this result

Device review

  • Did it pass in Desktop?
  • Did it pass in (emulated) Mobile?
  • Did it pass in (emulated) iPad?

@changeset-bot
Copy link

changeset-bot bot commented Nov 13, 2025

⚠️ No Changeset found

Latest commit: d05770d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Nov 13, 2025

📚 Branch Preview

🔍 Visual Regression Test Results

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

Deployed to Azure Blob Storage: pr-5883

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

@Rajdeepc Rajdeepc marked this pull request as ready for review November 14, 2025 05:00
@Rajdeepc Rajdeepc requested a review from a team as a code owner November 14, 2025 05:00
@Rajdeepc Rajdeepc added Tooling Issue or PR dealing with scripts, workflows, automation, etc Status: Ready for review PR ready for review or re-review. labels Nov 14, 2025
@Rajdeepc Rajdeepc merged commit 032ac2d into main Nov 14, 2025
22 checks passed
@Rajdeepc Rajdeepc deleted the rajdeep/github-pages-binary branch November 14, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Ready for review PR ready for review or re-review. Tooling Issue or PR dealing with scripts, workflows, automation, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants