import { Step } from "https://deno.land/x/actionify@0.3.0/src/step.ts";
Runs command-line programs using the operating system's shell. If you do not provide a name, the step name will default to the text specified in the run command.
Commands run using non-login shells by default. You can choose a different shell and customize the shell used to run commands. For more information, see jobs.<job_id>.steps[*].shell.
Each run keyword represents a new process and shell in the runner environment. When you provide multi-line commands, each line runs in the same shell.
import { Step } from 'https://deno.land/x/actionify@0.3.0/mod.ts';
const step = Step
.create()
.run('npm install');
Type Parameters
Type extends AnyCommand
Parameters
run: WithContext<Listed<Type | string | Expression>, Base, "jobs:jobId:steps:run">
Returns
Step<CombineAsUnion<Base | ExtractCommand<Type>>>