serverless / github-action

:zap::octocat: A Github Action for deploying with the Serverless Framework
Apache License 2.0
662 stars 174 forks source link

Switch to LTS version (v18) of Node.js #80

Closed o-az closed 1 year ago

o-az commented 1 year ago

Switching to Node.js v18 which is the current LTS version.

Node.js v16 End of Life is in 11 Sep 2023 (4 months from now): Active Support period ended 6 months ago (18 Oct 2022) and Security Support period will end in 4 months (11 Sep 2023).

Current LTS version is v18.

CleanShot 2023-05-03 at 18 08 06@2x CleanShot 2023-05-03 at 18 08 14@2x

On a few projects I was having issues with the action which is what prompted this pr. When I removed the action and used the npm package to deploy, it worked. I then tested deploying the action to a self-hosted runner with the Node.js version up'd to 18, worked with no problems.

ref: https://nodejs.dev/en/about/releases/