Skip to content

chore: fix generated files workflow by using newer node but pinning npm 10 - #2764

Merged
nbbeeken merged 1 commit into
mainfrom
fix-gen-files
Jul 8, 2026
Merged

chore: fix generated files workflow by using newer node but pinning npm 10#2764
nbbeeken merged 1 commit into
mainfrom
fix-gen-files

Conversation

@nbbeeken

@nbbeeken nbbeeken commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

#2604

The gyp bump causes an issue on node 20, in the PR above is when Kevin had to downgrade this flow to 20 to avoid issues but the real problem is with npm@11, we should be able to unblock for now on just a node upgrade.

@codeowners-service-app

Copy link
Copy Markdown

Assigned dudaschar for team mongosh-developers because himanshusinghs is out of office.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the scheduled “Update automatically generated files” GitHub Actions workflow to run on a newer Node.js runtime while avoiding known breakages introduced by npm 11 (per the linked context from PR #2604).

Changes:

  • Bump the cron-tasks workflow Node.js version from 20.x to 24.x.
  • Add an explicit step to install and use npm@10 for the remainder of the workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nbbeeken nbbeeken added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Jul 8, 2026
@nbbeeken
nbbeeken merged commit b70c3e8 into main Jul 8, 2026
133 of 139 checks passed
@nbbeeken
nbbeeken deleted the fix-gen-files branch July 8, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants