Update dependencies and use Node 20 - #425
Conversation
|
Hello from actions/github-script! (ba396f6) |
Co-authored-by: Martin Costello <martin@martincostello.com>
|
Looks like there's a legitimate failure with the preview integration test: |
|
You could probably also update to the |
Previews are no longer supported in Octokit unless you are sending a request to So probably worth adjusting the test to be a GraphQL one and adjusting any needed documentation accordingly. |
|
Took a look at the failing test and I think I figured it out. Seems like the problem lies with the updated Looking at this code segment that deals with the Some local testing: And without I'm able to run that ^ because I've made changes to Diff |
Supports #421
With https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/, we can use Node 20 now.
This updates the action to that runtime and updates every dependency to the latest version. This also allows us to use the latest Octokit, which had dropped support for Node 16 (see actions/toolkit#1542).
As part of these changes, I've removed
node-fetchasfetchis was added by default in Node 18.With the latest Octokit, API previews are now only used for GraphQL APIs. I've updated the
previewsinput to reflect that change.