diff --git a/CHANGELOG.md b/CHANGELOG.md index 4544363..5bd1364 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v5 + +Removes support for custom `paths` in the target action's `tsconfig.json`. This +appears to have been causing issues with type-stripping and later versions of +Node.js. + ## v4 This version adds support for diff --git a/bin/local-action.js b/bin/local-action.js index 1562555..2a10ff5 100755 --- a/bin/local-action.js +++ b/bin/local-action.js @@ -32,11 +32,6 @@ function entrypoint() { ? path.join(packagePath, 'src', 'bootstrap.ts').replaceAll('\\', '\\\\') : path.join(packagePath, 'src', 'bootstrap.ts') - // Require the bootstrap script in NODE_OPTIONS. - process.env.NODE_OPTIONS = process.env.NODE_OPTIONS - ? `${process.env.NODE_OPTIONS} --require "${bootstrapPath}"` - : `--require "${bootstrapPath}"` - // Disable experimental warnings. process.env.NODE_NO_WARNINGS = 1 diff --git a/package-lock.json b/package-lock.json index 19d474c..2ba4a1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@github/local-action", - "version": "4.0.0", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@github/local-action", - "version": "4.0.0", + "version": "5.0.0", "license": "MIT", "dependencies": { "@actions/artifact": "^2.3.2", diff --git a/package.json b/package.json index 448f778..0610e0c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@github/local-action", "description": "Local Debugging for GitHub Actions", - "version": "4.0.0", + "version": "5.0.0", "type": "module", "author": "Nick Alteen ", "private": false,