-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support ESM apps #1685
feat: Support ESM apps #1685
Conversation
The tests work locally, I dont know why they fail on actions |
The fail is related to nodejs/node#35889. --experimental-vm-modules is only required in Jest, not when actually using the app. I'm not sure what's the best way to proceed here. Trying to run the different code in the tests defeats the point of the tests |
Thanks for looking at this. I'm no expert on this CJS/ESM stuff, but is it possible to change the |
Yes, that is possible, but would require more major refactoring changes to be native ESM. I can try to do that, but it could break some apps using probot, it'd require a lot of testing. |
b906ded
to
db47312
Compare
Part of #1821. |
Fixes #1684.
This would require Node 14, which is a breaking change, but Node 14 is the oldest still supported LTS version, so I think it's not a problem