Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GitHub Actions Build Failure #90

Closed
wants to merge 5 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Jan 3, 2024

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement
    I created this PR to fix the failing GitHub Actions.## Description
    This PR addresses the GitHub Actions build failure for the OpenIM documentation v3 repository. The build process was failing due to a syntax error caused by the use of the nullish coalescing operator (??=) in a Node.js environment that does not support it.

The nullish coalescing operator is only available in Node.js versions 14 and above. Although the amplify.yml file indicated that Node.js version 15 was being used, the error suggested that an older version of Node.js was being used during the GitHub Actions run.

To fix this issue, the amplify.yml file was modified to ensure that Node.js version 14 is being used during the GitHub Actions run.

Summary of Changes

  • Modified the amplify.yml file to change the command nvm install 15 && npm ci to nvm install 14 && npm ci. This ensures that Node.js version 14, which supports the nullish coalescing operator, is being used during the GitHub Actions run.

Copy link
Contributor Author

sweep-ai bot commented Jan 3, 2024

Rollback Files For Sweep

  • Rollback changes to amplify.yml
  • Rollback changes to amplify.yml

@sweep-ai sweep-ai bot added the sweep label Jan 3, 2024
Copy link
Contributor Author

sweep-ai bot commented Jan 3, 2024

Sandbox Executions

  • Running GitHub Actions for amplify.yml
Check amplify.yml with contents:

Ran GitHub Actions for fb687d91c58018cd91a0a31af26c62527d577595:

@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 3, 2024
Copy link
Contributor Author

sweep-ai bot commented Jan 3, 2024

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run alex-page/[email protected]
yielded the following error:
##[error]Could not find the column "In Progress" or project "openim-docs"

Here are the logs:


Making changes according to plan... (step 3/3)

@cubxxw cubxxw closed this Jan 3, 2024
@cubxxw cubxxw deleted the sweep/fix-gh-actions-build-failure branch January 3, 2024 09:14
@openimsdk openimsdk locked and limited conversation to collaborators Jan 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants