feat: add CI check to require version bump when package files change
Summary
- Adds a
check-version-bumpCI job that runs on MRs and branch pushes - Compares changed files against the target branch (main)
- Fails if package files changed but version wasn't bumped
Files monitored
-
src/- source code -
package.json- dependencies and metadata -
webpack.config.js- build configuration -
tsconfig.json- TypeScript configuration
How it works
- Fetches the target branch (main) for comparison
- Gets current and target branch versions from package.json
- Checks if any monitored files have changed
- If files changed but version is the same, fails with clear error message
Closes #5 (closed)