actions / actions/runner

In action.yml, the ability to pass CLI arguments to nodejs or set environment parameters

Open
#479 2 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Runner Feature
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

When writing a javascript action, it would be useful to be able to pass arguments to nodejs or set environment variables before it starts, or ideally have both options.

The specific use-case I wanted this for was to pass the --enable-source-maps command line argument, or alternatively set it using the NODE_OPTIONS environment variable.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with action.yml and the JavaScript action startup path, then determine how the runner could accept Node.js CLI arguments or environment parameters before execution. Compare supporting --enable-source-maps with setting NODE_OPTIONS, and consider the expected action metadata and runtime behavior as the definition of done.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.