Skip to content

feat: add node native module "sero-node" and pipeline jobs - #9

Merged
mad201802 merged 4 commits into
mainfrom
feature/native-module
Mar 10, 2026
Merged

mad201802 merged 4 commits into
mainfrom
feature/native-module

Conversation

@LeoLTM

@LeoLTM LeoLTM commented Mar 10, 2026

Copy link
Copy Markdown
Member

This pull request introduces a new Node.js native module, sero-node, providing bindings to the C++17 sero protocol library. It adds the complete scaffolding for building, documenting, testing, and publishing the module, as well as continuous integration (CI) and release automation. The changes are grouped into three main themes: CI/CD pipeline enhancements, native module implementation, and supporting documentation and configuration.

Key changes:

Continuous Integration & Release Automation

  • Added a new job to the CI workflow (ci.yml) to build the native Node.js module using Bun and node-gyp.
  • Enhanced the release workflow (release.yml) to build, rename, upload, and publish the native module artifact to a custom registry, including support for authentication and artifact management.

Native Module Implementation

  • Introduced the sero-node native module project in node-module/, including:
    • binding.gyp for native build configuration, targeting C++17 and integrating node-addon-api.
    • package.json with build scripts, dependency management, and publish configuration for the custom registry.
    • .gitignore to exclude build outputs, dependencies, logs, and environment files.
    • tsconfig.json for strict TypeScript and bundler-based development.

Documentation

  • Added a comprehensive README.md detailing prerequisites, installation, API usage, and compatibility with ESP32 devices, serving as a quick start and reference for developers.

@LeoLTM LeoLTM self-assigned this Mar 10, 2026
Comment thread .github/workflows/ci.yml Fixed
LeoLTM and others added 3 commits March 10, 2026 20:03
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@mad201802
mad201802 merged commit eae4c42 into main Mar 10, 2026
9 checks passed
@mad201802
mad201802 deleted the feature/native-module branch March 10, 2026 19:08
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.

3 participants