chore: upgrade to node24, replace ncc with esbuild, bump deps#12
Merged
chore: upgrade to node24, replace ncc with esbuild, bump deps#12
Conversation
- Upgrade action runtime from node20 to node24 - Replace @vercel/ncc with esbuild for bundling - Implement cache-utils.ts to replace @actions/cache internal imports (v6 locked down exports map) - Upgrade deps: @actions/cache 6.0.0, @actions/core 3.0.1, opendal 0.49.2, typescript 6.0.3, jest 30.3.0, esbuild 0.28.0 - Add @actions/exec, @actions/io, @actions/glob as direct deps Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Move opendal native bindings to dist/ and rewrite require paths to ../opendal.<platform>.node so both entry points share them. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Upgrade the action runtime and build toolchain, following the pattern from comment-on-pr-action.
Changes
Runtime
node20tonode24Build toolchain
@vercel/nccwithesbuildfor bundlingbuild.jsas esbuild build script with native.nodefile copyingsrc/cache-utils.tsto replace@actions/cacheinternal imports (@actions/cachev6 locked down its exports map, so the old deep imports no longer work with esbuild)Dependencies upgraded
@actions/cache: 4.0.2 → 6.0.0@actions/core: 1.11.1 → 3.0.1opendal: 0.47.11 → 0.49.2typescript: 5.8.2 → 6.0.3jest: 29.7.0 → 30.3.0@types/jest: 29.5.14 → 30.0.0Dependencies added
esbuild(replaces@vercel/ncc)@actions/exec,@actions/io,@actions/glob(used by cache-utils.ts)@types/nodeDependencies removed
@vercel/ncc