peaceiris / actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
https://github.com/marketplace/actions/github-pages-action
MIT License
4.53k stars 361 forks source link

proposal: update node version to 20 #1062

Closed oliver139 closed 4 months ago

oliver139 commented 5 months ago

Checklist

Describe your proposal

According to the Github blog, actions using node 16 are deprecated. We should update this action to use node 20 asap. https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

Describe the solution you'd like

Updating specify file like .nvmrc and package.json from using node 16 to node 20. Certainly, a test is needed to see if node 20 is working fine on the action.

Describe alternatives you've considered

No response

Additional context

No response

peaceiris commented 5 months ago

Thanks.

SukkaW commented 4 months ago

@peaceiris Would you mind releasing a newer version under the v4 tag?