Skip to content

updated node version, actions versions and dependencies#320

Merged
EndBug merged 2 commits intoEndBug:mainfrom
Tpleme:node-update
Mar 22, 2026
Merged

updated node version, actions versions and dependencies#320
EndBug merged 2 commits intoEndBug:mainfrom
Tpleme:node-update

Conversation

@Tpleme
Copy link
Copy Markdown
Contributor

@Tpleme Tpleme commented Mar 17, 2026

  • Updated Node.js version to v24 (Node.js 20 actions are deprecated)
  • Bumped GitHub Actions to the latest versions: actions/setup-node@v6 and actions/checkout@v6.
  • Updated project dependencies to their latest non-major versions.
  • Updated compilerOptions.target in tsconfig.json to ES2018 (previously ES6). Reason: This enables the use of Named Capturing Groups in Regular Expressions, that are currently used in main.js.

Note on Compatibility
By moving the target to ES2018, we are dropping official support for legacy environments that do not recognize modern Regex syntax.

If maintaining ES6 compatibility is a priority:
I am happy to refactor the named capturing groups in main.js to standard numbered groups and revert the tsconfig.json change. Please let me know which path you prefer!

Summary by CodeRabbit

  • Chores
    • Updated build environment to Node.js 24.x and TypeScript ES2018 target.
    • Updated GitHub Actions workflow dependencies to latest versions.
    • Updated core dependency version.
    • Updated documentation examples to reflect current tooling versions.

Copy link
Copy Markdown
Owner

@EndBug EndBug left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! <3

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 22, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cf39b96a-da61-4780-b373-31907f018731

📥 Commits

Reviewing files that changed from the base of the PR and between 0ce27ab and bdc326e.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (7)
  • .github/workflows/build.yml
  • action.yml
  • doc/auto-publish-example.yml
  • doc/auto-publish-walkthrough.md
  • lib/index.js
  • package.json
  • tsconfig.json

📝 Walkthrough

Walkthrough

Configuration and dependency updates across CI/CD workflows, documentation, and project build settings. Node.js runtime updated from 20.x to 24.x in workflows and actions. GitHub Actions versions bumped from v4 to v6, @actions/core updated to v2, and TypeScript compiler target raised to ES2018.

Changes

Cohort / File(s) Summary
Node.js & Action Runtime Updates
.github/workflows/build.yml, action.yml
Node.js runtime version bumped from 20.x to 24.x in build workflow; GitHub Action runtime updated from node20 to node24.
GitHub Actions & Documentation Updates
doc/auto-publish-example.yml, doc/auto-publish-walkthrough.md
Action versions upgraded: actions/checkout@v4v6, actions/setup-node@v4/v1v6. Documentation examples updated to reflect new versions and Node.js 24.x runtime.
Build Dependencies & Compiler Configuration
package.json, tsconfig.json
@actions/core dependency constraint updated from ^1.10.1 to ^2.0.3; TypeScript compiler target raised from es6 to ES2018.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A hop, skip, and version bump we go,
From twenty to twenty-four, watch Node.js flow!
Actions stride forward in their shiny new six,
TypeScript compiles with modern JavaScript tricks—
The rabbit's warren grows stronger, bright and new! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use oxc to improve the quality of JavaScript and TypeScript code reviews.

Add a configuration file to your project to customize how CodeRabbit runs oxc.

@EndBug EndBug merged commit f6af013 into EndBug:main Mar 22, 2026
2 of 3 checks passed
@EndBug
Copy link
Copy Markdown
Owner

EndBug commented Mar 22, 2026

@all-contributors please add @Tpleme for their maintenance contribution

@allcontributors
Copy link
Copy Markdown
Contributor

@EndBug

@Tpleme already contributed before to maintenance

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