Skip to content

chore: upgrade to node24, replace ncc with esbuild, bump deps#12

Merged
everpcpc merged 2 commits intomainfrom
upgrade-node24-esbuild
Apr 22, 2026
Merged

chore: upgrade to node24, replace ncc with esbuild, bump deps#12
everpcpc merged 2 commits intomainfrom
upgrade-node24-esbuild

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Summary

Upgrade the action runtime and build toolchain, following the pattern from comment-on-pr-action.

Changes

Runtime

  • Upgrade GitHub Action runtime from node20 to node24

Build toolchain

  • Replace @vercel/ncc with esbuild for bundling
  • Add build.js as esbuild build script with native .node file copying
  • Implement src/cache-utils.ts to replace @actions/cache internal imports (@actions/cache v6 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.1
  • opendal: 0.47.11 → 0.49.2
  • typescript: 5.8.2 → 6.0.3
  • jest: 29.7.0 → 30.3.0
  • @types/jest: 29.5.14 → 30.0.0

Dependencies added

  • esbuild (replaces @vercel/ncc)
  • @actions/exec, @actions/io, @actions/glob (used by cache-utils.ts)
  • @types/node

Dependencies removed

  • @vercel/ncc

everpcpc and others added 2 commits April 22, 2026 16:00
- 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>
@everpcpc everpcpc merged commit 69d6879 into main Apr 22, 2026
11 checks passed
@everpcpc everpcpc deleted the upgrade-node24-esbuild branch April 22, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant