Skip to content

test: CI suite, shared lib/, and release docs (no version bump)#2

Merged
Tam-Leal merged 1 commit into
mainfrom
feat/test-suite-ci-and-lib
May 22, 2026
Merged

test: CI suite, shared lib/, and release docs (no version bump)#2
Tam-Leal merged 1 commit into
mainfrom
feat/test-suite-ci-and-lib

Conversation

@Tam-Leal
Copy link
Copy Markdown
Contributor

Summary

Adds an OSS-grade automated test suite, CI on main, shared lib/ modules, and contributor docs so we can merge safely without cutting a release for every PR.

What changed

  • lib/security.js, git-parse.js, dormant.js (shared with server.js and tests)
  • test/ — 42 tests: sanitization, git parsers, dormant logic, API integration (isolated temp workspace via GITDOCK_TEST)
  • .github/workflows/test.yml — runs npm test on push/PR to main
  • server.js — imports from lib/; test mode; stricter account name validation (rejects names that need character stripping)
  • DocsCHANGELOG.md (Unreleased), PR template, release policy in CONTRIBUTING.md

Release

No GitHub Release or version bump. This is infrastructure and a small security hardening on account names. Binaries stay at v1.2.0 until a future user-visible release (e.g. v1.3.0).

Test plan

  • npm install && npm test (42 passing)
  • After merge: confirm GitHub Actions Tests workflow is green on main
  • Optional: enable branch protection requiring the Tests check

Extract shared validation and parsers to lib/, add 42 automated tests with GitHub Actions, stricter account name sanitization, CHANGELOG, PR template, and release policy. No version bump or user-facing release.
@Tam-Leal Tam-Leal merged commit 49a3dbd into main May 22, 2026
1 check passed
@Tam-Leal Tam-Leal deleted the feat/test-suite-ci-and-lib branch May 22, 2026 01:52
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.

1 participant