fix(deps): upgrade @actions/core from v1 to v3 with ESM migration#652
Open
lourens-octopus wants to merge 2 commits intomainfrom
Open
fix(deps): upgrade @actions/core from v1 to v3 with ESM migration#652lourens-octopus wants to merge 2 commits intomainfrom
lourens-octopus wants to merge 2 commits intomainfrom
Conversation
62d11fc to
d531fb0
Compare
- Update @actions/core from 1.11.1 to ^3.0.0 (resolves Dependabot alert) - @actions/core v3 is ESM-only, requiring migration from CommonJS to ESM - tsconfig.json: change module to ESNext, moduleResolution to bundler, target to es2022 - tsconfig.test.json: new test-specific tsconfig with rootDir set to project root - package.json: add type: module, configure jest for ESM (extensionsToTreatAsEsm, useESM) - Update test scripts to use node --experimental-vm-modules - Rename renovate-config.js to renovate-config.cjs (uses module.exports, must remain CJS) - Update tsconfig.eslint.json to reference renovate-config.cjs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
d531fb0 to
cff9027
Compare
ncc produces a hybrid bundle (CJS shim wrapped in an ESM entry) when the
input is ESM, which Node.js v24 auto-detects as ESM and fails on
__dirname. esbuild correctly bundles ESM dependencies into a plain CJS
output ('use strict' at top, no import statements) without needing a
dist/package.json.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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.
[sc-138245]
Successful run: https://github.com/OctopusDeployTesting/devex-action-tests/actions/runs/23227313099