Skip to content

Conversation

@gndelia
Copy link
Contributor

@gndelia gndelia commented Jan 30, 2026

Description

This PR adds two GitHub Actions workflows to automate CI/CD for the repository:

  1. JS Checks workflow (.github/workflows/js-checks.yml): Runs linting, type checking, and tests on pull requests and pushes. Tests against Node.js versions 20, 22, and 24 to ensure compatibility.

  2. NPM Publish workflow (.github/workflows/npm-publish.yml): Automatically publishes the package to NPM when a GitHub release is created.

Both workflows use the shared Hemilabs workflow definitions for consistency across repositories.

Screenshots

N/A

Related issue(s)

N/A

Checklist

  • Manual testing passed.
  • Automated tests added, or N/A.
  • Documentation updated, or N/A.
  • Environment variables set in CI, or N/A.

@gndelia
Copy link
Contributor Author

gndelia commented Jan 30, 2026

I need to fix the workflows (See hemilabs/actions#32) so I'm placing this on draft

@gndelia gndelia marked this pull request as draft January 30, 2026 15:00
@gndelia gndelia self-assigned this Jan 30, 2026
@gndelia
Copy link
Contributor Author

gndelia commented Jan 30, 2026

Workflows fixed - I had to update knip config in a0ee0a9 so they wouldn't fail 😅

@gndelia gndelia requested a review from Copilot January 30, 2026 15:28
Copy link

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

This PR introduces automated CI/CD pipelines for the repository by adding two GitHub Actions workflows that handle testing and package publishing.

Changes:

  • Adds JS Checks workflow to run linting, type checking, and tests on pull requests and pushes across Node.js versions 20, 22, and 24
  • Adds NPM Publish workflow to automatically publish packages when GitHub releases are created
  • Updates knip configuration to ignore eslint-config-prettier dependency

Reviewed changes

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

File Description
.github/workflows/js-checks.yml Configures automated testing workflow for pull requests and pushes
.github/workflows/npm-publish.yml Configures automated NPM publishing on release creation
.knip.json Adds eslint-config-prettier to ignored dependencies list

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

@gndelia gndelia marked this pull request as ready for review January 30, 2026 15:28
@gndelia gndelia enabled auto-merge January 30, 2026 15:29
@gndelia gndelia merged commit 8b13cac into master Jan 30, 2026
10 checks passed
@gndelia gndelia deleted the add-workflows branch January 30, 2026 17:25
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.

4 participants