From the course: Advanced GitHub Actions

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

JavaScript actions overview

JavaScript actions overview - GitHub Tutorial

From the course: Advanced GitHub Actions

JavaScript actions overview

- [Instructor] As automaters, we can develop custom actions using Dockerfiles or JavaScript. Technically, we can also use composite actions but let's focus on these two for now. Docker actions are very flexible when it comes to delivering functionality in a self-contained package. However, Docker actions need to be pulled or built on each workflow run and while this process happens very quickly, it can affect workflow runtimes. In addition, Docker actions require the runner to have a Linux-based operating system. JavaScript actions are also bundled with their dependencies, making them just as portable as container-based actions. But JavaScript actions have speed on their side. They run directly on the workflow runner, allowing them to execute faster than a container action. And the final superpower for JavaScript actions is their portability across operating systems. Pure JavaScript functions can run on Linux, Mac…

Contents