Github Actions CI Pipeline Warning

I am using a Monorepo to host all my code across multiple places, and I have decided to set up a CI/CD pipeline using Github Actions. I currently only have the CI pipeline set up and everything works fine, but I have been starting to notice that the pipeline jobs and been throwing this warning:

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

I need help finding a way to invoke Node.js 20 actions instead of 16, but I am not sure how.

I can also send my .yaml file if needed.

Hey, I just wanted to mention this is for Roblox related scripting and stuff. So good job on asking for help but you’re in the wrong spot.

Places to ask for help:

1 Like

Ahh your right, this question was more centered around off platform development pipelines. But incase other people may be curious on a solution, after a little digging; it seems like the creator of stylua-action approved a PR that fixes this.

Upgrade Node.js to v20 by wancup · Pull Request #53 · JohnnyMorganz/stylua-action (github.com)

Now we just have to wait until it gets merged!

For the Linter job, all I did was update the version of actions/checkout@v3 to v4.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.