mirror of
https://github.com/pnpm/action-setup.git
synced 2026-09-02 13:35:34 +08:00
fix: bundle as CJS to support @actions/* packages
The @actions/* packages use CJS require() for Node.js builtins, which fails with "Dynamic require of 'os' is not supported" when bundled as ESM. Switch esbuild output to CJS format. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
dc312cdfd7
commit
ab0b84aeb1
Vendored
+141
-141
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user