Skip to content

ci: specify latest Node.js and Python versions in workflows - #215

Merged
hzhangxyz merged 1 commit into
mainfrom
test/revert-github-actions
Jan 28, 2026
Merged

ci: specify latest Node.js and Python versions in workflows#215
hzhangxyz merged 1 commit into
mainfrom
test/revert-github-actions

Conversation

@hzhangxyz

Copy link
Copy Markdown
Member

Explicitly define and use NODE_LATEST_VERSION ('24') and PYTHON_LATEST_VERSION ('3.14') across GitHub Action workflows to ensure consistent environments for Jest and Pytest.

Explicitly define and use NODE_LATEST_VERSION ('24') and PYTHON_LATEST_VERSION ('3.14') across GitHub Action workflows to ensure consistent environments for Jest and Pytest.
Copilot AI review requested due to automatic review settings January 28, 2026 10:30
@hzhangxyz
hzhangxyz merged commit b307ed8 into main Jan 28, 2026
83 checks passed

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 standardizes Node.js and Python versions across GitHub Action workflows by introducing environment variables NODE_LATEST_VERSION ('24') and PYTHON_LATEST_VERSION ('3.14'). These versions align with the repository's .node-version and .python-version files and are already used in the test matrices.

Changes:

  • Added NODE_LATEST_VERSION: '24' environment variable to Jest workflows and applied it to Node.js setup in build/publish jobs
  • Added PYTHON_LATEST_VERSION: '3.14' environment variable to Pytest workflows and applied it to Python setup in build/publish jobs
  • Updated emsdk cache key in jest.yml to include the Node version for consistency

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/pytest.yml Added PYTHON_LATEST_VERSION env var and applied it to Python setup in wheels and sdist jobs
.github/workflows/jest.yml Added NODE_LATEST_VERSION env var, applied it to Node.js setup in npm job, and updated cache key
.github/workflows/egg-pytest.yml Added PYTHON_LATEST_VERSION env var and applied it to Python setup in build job
.github/workflows/egg-jest.yml Added NODE_LATEST_VERSION env var and applied it to Node.js setup in npm job
.github/workflows/bnf-pytest.yml Added PYTHON_LATEST_VERSION env var and applied it to Python setup in build job
.github/workflows/bnf-jest.yml Added NODE_LATEST_VERSION env var and applied it to Node.js setup in npm job

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants