Skip to content

chore: repo hardening (CI workflow)#1

Open
MukundaKatta wants to merge 1 commit into
mainfrom
chore/repo-hardening
Open

chore: repo hardening (CI workflow)#1
MukundaKatta wants to merge 1 commit into
mainfrom
chore/repo-hardening

Conversation

@MukundaKatta

Copy link
Copy Markdown
Owner

Adds a GitHub Actions CI workflow at .github/workflows/ci.yml.

What it does:

  • Runs on pushes and PRs to main.
  • Validates that every shipped src/ and test/ .js file parses cleanly via node --check across Node 18, 20, and 22 (the supported engines range).
  • Confirms package.json is well-formed JSON.

Why node --check rather than npm test: the package re-exports sibling scoped packages that may not be published yet, so a full module-resolving test run could fail in CI for reasons unrelated to this repo's code. The syntax gate is fast, dependency-free, and always reflects real errors.

This change is purely additive and non-breaking: it only adds a new workflow file and does not modify any existing source, tests, or configuration.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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