Allow `args` in `install` input
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 140
- Forks
- 19
- Avg merge
- 13h 19m
- Merged PRs (30d)
- 3
Description
My usual CI workflow is the following:
- name: Install pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
with:
cache: true
run_install: |
- args: [--prefer-offline, --frozen-lockfile]
while --frozen-lockfile is enabled by default in the CI (see here) there is no way I can configure --prefer-offline in the current setup without running the installation in a separate step again. Before switching to this new action, it's a hard requirement for me to have the ability to configure the install options.
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 by tracing how the action parses the run_install input and invokes install; the issue provides the YAML shape and the desired --prefer-offline and --frozen-lockfile options. Done means the install input accepts args and passes those options through without requiring a separate installation step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100