Skip to content

chore(ci): move Node 20 GitHub Actions jobs to Node 24#1230

Open
DeoJin wants to merge 1 commit intoMemMachine:mainfrom
DeoJin:chore/node24-gh-actions-1221
Open

chore(ci): move Node 20 GitHub Actions jobs to Node 24#1230
DeoJin wants to merge 1 commit intoMemMachine:mainfrom
DeoJin:chore/node24-gh-actions-1221

Conversation

@DeoJin
Copy link
Copy Markdown

@DeoJin DeoJin commented Mar 16, 2026

Summary

  • move docs validation matrix from Node 20/22 to 22/24
  • update docs workflow to �ctions/checkout@v4 and �ctions/setup-node@v4
  • move TypeScript client test and publish workflows from Node 20.19.x to 24.x

Closes #1221

Validation

pm install (in packages/ts-client)

pm run build (in packages/ts-client)

ode -e "require('./dist/index.js'); console.log('ts-client dist import smoke test: ok')" (in packages/ts-client)

Note:
pm test -- --runInBand in packages/ts-client currently fails on the repo's existing Jest/ts-jest preset mismatch (Preset ts-jest not found), independent of this workflow-only change.

sscargal

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates GitHub Actions workflows to run on newer Node.js versions (22/24), aligning CI with the upcoming GitHub Actions Node 20 deprecation and keeping TypeScript client and docs validation jobs compatible.

Changes:

  • Move TypeScript client test and publish workflows from Node 20.19.x to Node 24.x.
  • Update docs validation workflow matrix from Node 20/22 to Node 22/24.
  • Upgrade docs workflow actions to actions/checkout@v4 and actions/setup-node@v4.

Reviewed changes

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

File Description
.github/workflows/ts-client-test.yml Switch ts-client CI test job to Node 24.x.
.github/workflows/ts-client-publish.yml Switch ts-client publish job to Node 24.x.
.github/workflows/docs-checks.yml Update docs validation matrix to 22/24 and bump checkout/setup-node actions to v4.
Comments suppressed due to low confidence (1)

.github/workflows/docs-checks.yml:86

  • There are multiple trailing blank lines at the end of this workflow file (after the last step). Consider removing the extra empty lines to keep the YAML clean and reduce noisy diffs in future edits.

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

Copy link
Copy Markdown
Contributor

@jgong jgong left a comment

Choose a reason for hiding this comment

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

Thanks!

@jealous
Copy link
Copy Markdown
Contributor

jealous commented Mar 17, 2026

@DeoJin please sign your commit. I cannot merge it because the commit is not signed.

@sscargal sscargal added this to the v0.3.3 milestone Mar 18, 2026
Copy link
Copy Markdown
Contributor

@sscargal sscargal left a comment

Choose a reason for hiding this comment

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

Please implement the suggestions. Thanks.

# Step 1: Checkout the repository code
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
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.

We should move to v5 at a minimum, which now uses node 24. See https://github.com/actions/checkout. v6 is available.

# Step 2: Set up Node.js for the current matrix version
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
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.

We should move to v5 at a minimum, which uses node 24 as the default. See https://github.com/actions/setup-node for details. v6 is the latest.

@sscargal sscargal modified the milestones: v0.3.3, v0.3.4 Mar 24, 2026
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.

[Chore]: Move GitHub Actions Node 20 jobs to Node 24 before June 2nd, 2026. Node 20 is being EOL'd.

5 participants