setup-ros icon indicating copy to clipboard operation
setup-ros copied to clipboard

deprecation warning for node.js 12

Open jarkenau opened this issue 3 years ago • 4 comments

Description

When using the action in a workflow, GitHub adds a notice that Node.js 12 is deprecated and will be removed soon. This also applies for the ros-tooling/action-ros-ci.

Screenshot from 2022-10-16 21-08-09

To Reproduce

Use ros-tooling/[email protected]

Could we just upgrade the version to Node.js 16 ? :thinking:

jarkenau avatar Oct 16 '22 19:10 jarkenau

Thanks for bringing this up! I'm not sure what upgrading to a more recent version entails other than modifying this line: https://github.com/ros-tooling/setup-ros/blob/16c95b566a82852112e58201d9cf69044c12b29b/action.yml#L41

but I can look into it some time in the coming weeks.

christophebedard avatar Oct 17 '22 00:10 christophebedard

Just wanted to let you know, I updated to node16 in a fork and used it for another repository. The deprecation warning is gone and everything works as expected, but I just use some basic features of this action, so not sure about edge cases.

Also, the actions/typescript-action this action is based on updated to node16 a while ago: https://github.com/actions/typescript-action/commit/87fd0349ba2dff5d5598104cec63562cdec81fa5

jarkenau avatar Oct 17 '22 18:10 jarkenau

Great, thanks for the info! I'll do that and update the version in the CI configs as well.

christophebedard avatar Oct 19 '22 00:10 christophebedard

I've created PRs for setup-ros and action-ros-ci: https://github.com/ros-tooling/setup-ros/pull/521 and https://github.com/ros-tooling/action-ros-ci/pull/778. A lot of the local CI jobs are failing due to an issue with permissions. Something like this: https://github.com/cypress-io/github-action/issues/446. I'll have to look into it.

christophebedard avatar Oct 19 '22 01:10 christophebedard