CI #5 - Why use the setup-node action?

Опубликовано: 19 Март 2026
на канале: Swashbuckling with Code
1,253
54

The setup-node action is commonly used in Github actions examples and templates using Node.js ... but why? In the previous videos we used Node and npm just fine in our CI workflow without setup-node. In this video I'll speak to that point a little bit, and then we'll add it to our project.

~~~~~~

RESOURCES:

Playlist:
   • Continuous Integration (CI/CD)  

Repository:
https://github.com/Jimmydalecleveland...

Github Actions Docs:
https://docs.github.com/en/actions/le...
https://docs.github.com/en/actions/gu...
https://github.com/actions/virtual-en...

~~~~~~

00:00 - Introduction to setup-node
04:20 - Example proof of Node being preinstalled by default
06:17 - Adding setup-node
07:20 - Specifying node version for our actions
08:53 - Summary of why to use setup-node

~~~~~~

Follow Jimmy Cleveland's doings:
twitter:   / jimmydcleveland  
blog: https://blog.jimmydc.com/

#ci #javascript