# Update Hubspot CMS Deployment action to use latest setup-node

**URL:** <https://community.hubspot.com/t/update-hubspot-cms-deployment-action-to-use-latest-setup-node/114932>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [August 21, 2024, 9:40am UTC](https://community.hubspot.com/t/update-hubspot-cms-deployment-action-to-use-latest-setup-node/114932 "2024-08-21T09:40:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeroenr](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jeroenr](https://community.hubspot.com/u/jeroenr)\
**Post date:** [August 21, 2024, 9:40am UTC](https://community.hubspot.com/t/update-hubspot-cms-deployment-action-to-use-latest-setup-node/114932/1 "2024-08-21T09:40:43Z")

</div>

The Hubspot CMS Deploy action for Github is using an outdated version of the actions/setup-node action. This is causing some deprecation warnings when the action is used in a Github actions workflow.

> <https://github.com/HubSpot/hubspot-cms-deploy-action/blob/main/action.yml#L24>

Would it be possible to update this to use the latest setup-node action? There is already a pull request open since February with no replies from another Hubspot user:

> <https://github.com/HubSpot/hubspot-cms-deploy-action/pull/30>
>
> When I run this action on my repos, I get the following message:
> 
> \`\`\`
> The fol…lowing actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
> \`\`\`
> 
> While I know the node version actually used is 20, I think the underlying action itself might just need a little upgrade.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 21, 2024, 7:41pm UTC](https://community.hubspot.com/t/update-hubspot-cms-deployment-action-to-use-latest-setup-node/114932/2 "2024-08-21T19:41:58Z")

</div>

Hey, @jeroenr 👋 Thanks for flagging this. If you can, please add your feedback to the PR on the repo. I’ll share this internally, but any updates will likely be shared over there as the engineers who maintain the repo do not post in this community as it is primarily a peer-to-peer support space.

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![jeroenr](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jeroenr](https://community.hubspot.com/u/jeroenr)\
**Post date:** [September 9, 2024, 1:16pm UTC](https://community.hubspot.com/t/update-hubspot-cms-deployment-action-to-use-latest-setup-node/114932/3 "2024-09-09T13:16:49Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074), thank you for picking this up. Is there any timeline estimation on this? And what exactly do you mean by feedback to be added to the pull request? Thank you!
