Skip to content

Add CI/CD pipeline and improve package metadata#3

Merged
amavashev merged 1 commit into
mainfrom
claude/publish-npm-client-guYyZ
Mar 13, 2026
Merged

Add CI/CD pipeline and improve package metadata#3
amavashev merged 1 commit into
mainfrom
claude/publish-npm-client-guYyZ

Conversation

@amavashev
Copy link
Copy Markdown
Contributor

Summary

This PR establishes a complete CI/CD pipeline for the project and enhances the package.json metadata to better represent the project on npm and GitHub.

Key Changes

  • Added GitHub Actions CI workflow (.github/workflows/ci.yml)

    • Runs tests on Node.js 20 and 22 for all pushes to main/master and pull requests
    • Includes typecheck and build steps to catch issues early
    • Automated npm publishing on version tags with provenance support
  • Enhanced package.json metadata

    • Added author, repository, homepage, and bugs fields for better discoverability
    • Added relevant keywords (cycles, budget, billing, metering, api-client, ai, llm, runcycles)
    • Removed unused run dependency from dependencies

Notable Details

  • The publish job only triggers on tags matching the v* pattern, following semantic versioning conventions
  • Uses npm provenance for enhanced security during package publication
  • CI runs on ubuntu-latest with npm caching for faster builds
  • Minimal permissions principle applied with explicit permission grants per job

https://claude.ai/code/session_01B7iZeLzeSvHVHWnRQMMTWn

- Add GitHub Actions workflow for CI (test on Node 20/22) and
  automated npm publish on version tags with provenance
- Add npm metadata (repository, homepage, bugs, keywords, author)
- Remove unused `run` dependency

https://claude.ai/code/session_01B7iZeLzeSvHVHWnRQMMTWn
@amavashev amavashev merged commit 262ed5e into main Mar 13, 2026
2 checks passed
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.

2 participants