![]() ![]() The starter workflow includes a matrix strategy that builds and tests your code with four Node.js versions: 10.x, 12.x, 14.x, and 15.x. If you are using a self-hosted runner, you must install Node.js and add it to PATH. ![]() Using the setup-node action is the recommended way of using Node.js with GitHub Actions because it ensures consistent behavior across different runners and different versions of Node.js. The setup-node action finds a specific version of Node.js from the tools cache on each runner and adds the necessary binaries to PATH, which persists for the rest of the job. The setup-node action takes a Node.js version as an input and configures that version on the runner. The easiest way to specify a Node.js version is by using the setup-node action provided by GitHub. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |