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

Node.js depreceted - 2023-09-22-github-actions-transitioning-from-node-16-to-node-20 #677

Closed
acpennlab opened this issue Feb 26, 2024 · 2 comments · Fixed by #678
Closed

Comments

@acpennlab
Copy link

Hi there,

I just tried creating a GitHub action using action-binderbadge but the action fails with the following error:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: manics/action-binderbadge@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

The advice to upgrade is described in the links below:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions

Is this simply as simple as changing 'node16' to 'node20' in line 28 of action.yml?

Best

Andy

@manics
Copy link
Owner

manics commented Feb 26, 2024

Thanks for the report! I'm trying to update all dependencies as well as the node version but it'll require more work: #678

@manics
Copy link
Owner

manics commented Feb 29, 2024

Fixed in main, and also v3.0.0

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 a pull request may close this issue.

2 participants