In action.yml, the ability to pass CLI arguments to nodejs or set environment parameters
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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