This directory contains automated workflows for the ccusage project.
Triggers on version tags (v*) and automatically:
- Builds the project
- Creates Linux x64, macOS x64, and macOS ARM64 binaries
- Packages them as compressed archives (.tar.gz)
- Creates a GitHub release with all binaries attached
To create a release:
# Update version in package.json
npm version patch # or minor/major
# Push the tag
git push origin v18.1.3Runs on all pushes to main and pull requests:
- Lints the code
- Runs type checking
- Runs tests
- Builds the project
- Tests binary compilation
- Windows binaries have been removed as requested
- Workflows use Bun for fast builds and testing
- Dependencies are cached for improved performance
- The release workflow uses GitHub CLI (gh) for robust release creation EOF < /dev/null