`yarnInstallWithRetries/action.yml` and `externalNut.yml` fail under `yarn` v2+

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
ci-cd

Research direction

Inspect yarnInstallWithRetries/action.yml and externalNut.yml, then locate the yarn install commands that pass --ignore-scripts. Check the commands against the Yarn v2+ syntax shown in the report. Done means the affected actions no longer fail under Yarn v2+ while retaining their intended install behavior.

Written by the indexing model from the issue text.

Description

Apparently, yarn v2+ removed the --ignore-scripts flag. All scripts using those actions under anything that is not v1 will fail:

Unknown Syntax Error: Unsupported option name ("--ignore-scripts").

$ yarn install [--json] [--immutable] [--immutable-cache] [--refresh-lockfile] [--check-cache] [--check-resolutions] [--inline-builds] [--mode #0]
Dominant language
No language data
Stars
18
Forks
9
Avg merge
17h 15m
Merged PRs (30d)
9

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.

More from salesforcecli/github-workflows

All issues in salesforcecli/github-workflows

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.