Skip to content

Node / JavaScript project

Use case: capture the npm workflow for a Node project, and run a JavaScript task body directly under the node executor.

Demonstrates: dependencies, executors (node) · Guide: Executors

Prerequisites: node

Terminal window
rune version
node v20.x.x

(The exact version reflects your installed Node.) The install/build/test tasks echo the npm commands — swap in the real ones for your project.

version (node) runs its body as JavaScript via the node executor (Node must be installed). The other tasks use the default shell executor.