/node

A Bash Action template using Node.js.

Primary LanguageJavaScriptMIT LicenseMIT

Bash Action - node

A Bash Action template using Node.js that outputs Hello World or Hello + name to the log by default.

This template includes test.

Usage

Click the Use this template -> Create a new repository for your Action.

Update action.yml

Update your Action's action.yml with your name, description, inputs and outputs.

Compare

Compare with other Bash Action templates:

Using Advantage Disadvantage Recommend to
docker Container can be used. Need to build the image every time. Bash that only can be run in container.
node Node.js can be used. Need to run Bash via Node.js. Just run Bash.
composite Other Actions can be used. Need to mapped inputs via env. Bash needs other Actions or doesn't want node.

See also