1
0
Fork 0
mirror of https://github.com/imjasonh/apidiff-action synced 2026-07-06 22:52:43 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Jason Hall
b91371174f
refactor: simplify dist management to match GitHub Actions template
- Remove pre-commit hooks for building/checking dist
- Add check-dist.yml workflow that validates dist in CI
- This matches the approach used by actions/javascript-action
- Eliminates OS-specific build differences affecting commits
2025-07-30 09:53:16 -04:00
Jason Hall
c8230cc936
fix: make pre-commit scripts work in CI without nvm
- Check if already on Node 20 before trying to use nvm
- This fixes CI where nvm is not available but Node 20 is already set
2025-07-30 09:35:56 -04:00
Jason Hall
113224a225
fix: ensure pre-commit hooks use Node 20
- Create dedicated scripts for pre-commit hooks that source nvm
- Ensure dist is always built with Node 20 to match CI environment
- This prevents Node version mismatches between local and CI builds
2025-07-30 09:32:45 -04:00
Jason Hall
051f997977
Enforce Node 20 in pre-commit hooks
- Add Node version check to build-dist pre-commit hook
- Create helper script to switch to Node 20
- Update documentation with clear instructions
- Fix YAML syntax in pre-commit config

This ensures dist is always built with Node 20, preventing CI failures
due to version mismatches.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 09:22:44 -04:00