Skip to content
Latchkey

JavaScript Action - CI/CD Glossary Definition

A JavaScript action is a custom action that runs directly on the runner with Node.js, declared with runs.using: "node20" and a main: entry script, typically built on the @actions/core toolkit.

How it runs

GitHub executes the bundled script with the runner Node.js. Inputs come from core.getInput() and outputs from core.setOutput(). Because there is no container pull, JavaScript actions start faster than Docker actions and run on Linux, Windows, and macOS runners.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →