Skip to content

feat: support multiple Node.js versions#13

Merged
SiegeSailor merged 12 commits into
mainfrom
feature-support-multiple-node-versions
Apr 25, 2026
Merged

feat: support multiple Node.js versions#13
SiegeSailor merged 12 commits into
mainfrom
feature-support-multiple-node-versions

Conversation

@SiegeSailor
Copy link
Copy Markdown
Owner

Summary

Support multiple Node.js versions by adding tests, updating pipelines, and using different dependencies' versions.

Important Details

Checklist

@SiegeSailor SiegeSailor requested a review from Copilot April 15, 2026 06:12
@SiegeSailor SiegeSailor self-assigned this Apr 15, 2026
@SiegeSailor SiegeSailor added documentation Improvements or additions to documentation pipeline Changes of CI/CD pipelines labels Apr 15, 2026
Copy link
Copy Markdown

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

Adds multi-version Node.js compatibility support across the CLI/library by updating runtime requirements, CI coverage, and introducing an automated CLI smoke suite to validate behavior across Node versions.

Changes:

  • Expand GitHub Actions test workflow to run on a Node.js version matrix and split compat vs coverage runs.
  • Introduce a CLI smoke test script and wire it into npm test / test:compat.
  • Update CLI prompt flows to support non-interactive operation via IPromptOptions and adjust dependency/engine constraints accordingly.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
source/shared/cli/utilities.ts Adds non-interactive support to inquire.continue via promptOptions.
source/key-encryptions/RSA.ts Threads IPromptOptions into demo flow steps to support non-interactive runs.
source/key-encryptions/ElGamal.ts Same as above for ElGamal demo flow.
source/key-encryptions/DiffieHellman.ts Same as above for Diffie-Hellman demo flow.
scripts/test-cli.js Adds automated smoke coverage for algorithms and demonstrations via runCLI.
package.json Adjusts dependencies/engines and adds test:cli / test:compat scripts.
README.md Updates documented Node/NPM requirements and tested Node versions.
CONTRIBUTING.md Updates development requirements and script documentation.
.nvmrc Sets default dev Node version to 14.18.0.
.npmrc Disables engine-strict for installs.
.github/workflows/test.yml Runs CI tests across multiple Node versions and gates coverage to one version.
Comments suppressed due to low confidence (1)

.github/workflows/test.yml:35

  • actions/checkout@v6 is not a valid released major version of the checkout action (current stable majors are lower). This will cause the workflow to fail to resolve the action. Use an existing major (e.g., actions/checkout@v4).
      - name: Action | Checkout Repository Code
        uses: actions/checkout@v6

Comment thread package.json
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread source/shared/cli/utilities.ts Outdated
@SiegeSailor SiegeSailor merged commit 2c39f83 into main Apr 25, 2026
9 checks passed
@SiegeSailor SiegeSailor deleted the feature-support-multiple-node-versions branch April 25, 2026 07:05
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released Already in releases label Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pipeline Changes of CI/CD pipelines released Already in releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Multiple Node.js Versions

2 participants