Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebc7c20

Browse files
authored
Remove bootstrap script call (#204)
This pull request updates the package version to `5.0.0` and removes support for custom `paths` in the target action's `tsconfig.json` due to compatibility issues with type-stripping and newer versions of Node.js.
2 parents cfca9e1 + 53b566b commit ebc7c20

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v5
4+
5+
Removes support for custom `paths` in the target action's `tsconfig.json`. This
6+
appears to have been causing issues with type-stripping and later versions of
7+
Node.js.
8+
39
## v4
410

511
This version adds support for

bin/local-action.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ function entrypoint() {
3232
? path.join(packagePath, 'src', 'bootstrap.ts').replaceAll('\\', '\\\\')
3333
: path.join(packagePath, 'src', 'bootstrap.ts')
3434

35-
// Require the bootstrap script in NODE_OPTIONS.
36-
process.env.NODE_OPTIONS = process.env.NODE_OPTIONS
37-
? `${process.env.NODE_OPTIONS} --require "${bootstrapPath}"`
38-
: `--require "${bootstrapPath}"`
39-
4035
// Disable experimental warnings.
4136
process.env.NODE_NO_WARNINGS = 1
4237

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@github/local-action",
33
"description": "Local Debugging for GitHub Actions",
4-
"version": "4.0.0",
4+
"version": "5.0.0",
55
"type": "module",
66
"author": "Nick Alteen <[email protected]>",
77
"private": false,

0 commit comments

Comments
 (0)