Update dependencies to latest versions with ESM and Node 24#409
Merged
Update dependencies to latest versions with ESM and Node 24#409
Conversation
- Upgrade @actions/* packages to v3+ (ESM modules) - @actions/core: 1.11.1 → 3.0.0 - @actions/exec: 1.1.1 → 3.0.0 - @actions/glob: 0.5.1 → 0.6.1 - @actions/tool-cache: 2.0.2 → 4.0.0 - Update dev dependencies - @types/node: 20.x → 25.2.1 - globals: 16.5.0 → 17.3.0 - typescript: 5.8.3 → 5.9.3 - Migrate to ES Modules (ESM) - Add "type": "module" to package.json - Update TypeScript config to use ES2022 modules - Update module resolution to "bundler" - Upgrade GitHub Actions runtime - Update from node20 to node24 (future-proof for March 2026) - Fix ESLint configuration - Change tsconfigRootDir from '.' to __dirname - Security improvements - Add undici override to fix security vulnerabilities - Zero vulnerabilities in dependencies - Build optimization - Bundle size reduced from 2.2M to 1.5M (~32% smaller)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates all npm dependencies to their latest versions and migrates the action to use modern ES Modules (ESM) with Node 24 runtime.
🚀 Major Dependency Updates
1.11.1→3.0.0(ESM)1.1.1→3.0.0(ESM)0.5.1→0.6.1(ESM)2.0.2→4.0.0(ESM)20.x→25.2.116.5.0→17.3.05.8.3→5.9.3🔧 Architecture Improvements
tsconfigRootDirissue for proper TypeScript linting📊 Results
Testing
All existing tests pass and the build completes successfully with the new configuration.