Skip to content
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

update javascript runtime to node20 #242

Merged
merged 1 commit into from
Jan 10, 2024
Merged

update javascript runtime to node20 #242

merged 1 commit into from
Jan 10, 2024

Conversation

theoremoon
Copy link
Contributor

The latest release of this action causes the following error. I guess the oktokit should be updated with the JS runtime at same time.

ERROR fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing

Octokit requires Node 18 or higher, which includes a native fetch API.

@pascalgn pascalgn merged commit b5abae2 into pascalgn:main Jan 10, 2024
1 check passed
@pascalgn
Copy link
Owner

Yes, good point! Thanks for the PR! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants