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...
Repository:
github.com/Jimmydalecleveland...
Github Actions Docs:
docs.github.com/en/actions/le...
docs.github.com/en/actions/gu...
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: blog.jimmydc.com/
#ci #javascript
Негізгі бет CI #5 - Why use the setup-node action?
Пікірлер: 5