mirror of
https://github.com/actions/create-github-app-token.git
synced 2026-12-04 15:19:05 +00:00
Changed the build script to output ES modules instead of CommonJS. Updated action.yml to reference .js files instead of .cjs, and clarified proxy support logic in bootstrap.js.
8 lines
310 B
JavaScript
8 lines
310 B
JavaScript
// Enable env-based proxy support before loading the main bundle (unless caller explicitly set NODE_USE_ENV_PROXY)
|
|
if (process.env.NODE_USE_ENV_PROXY == null) {
|
|
process.env.NODE_USE_ENV_PROXY = "1";
|
|
}
|
|
|
|
// Defer to original main entry (dynamic import ensures above code runs first)
|
|
await import("./main.js");
|