Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

ci: only ignore scripts with yarn in the deduplicate script#39519

Merged
LawnGnome merged 1 commit into
mainfrom
aharvey/yarn-ignore-scripts
Jul 27, 2022
Merged

ci: only ignore scripts with yarn in the deduplicate script#39519
LawnGnome merged 1 commit into
mainfrom
aharvey/yarn-ignore-scripts

Conversation

@LawnGnome

Copy link
Copy Markdown
Contributor

This fixes the sourcegraph-async breakage introduced in #39454: most invocations of yarn that were replaced by yarn-install-with-retry.sh did not disable lifecycle scripts, but the new unified yarn-install-with-retry.sh script did globally. This moves the --ignore-scripts flag back into the only script that actually used it, which is yarn-deduplicate.sh.

Test plan

CI only; will be verified by a green sourcegraph-async run.

This fixes the `sourcegraph-async` breakage introduced in #39454: most
invocations of `yarn` that were replaced by `yarn-install-with-retry.sh`
did not disable lifecycle scripts, but the new unified
`yarn-install-with-retry.sh` script did globally. This moves the
`--ignore-scripts` flag back into the only script that actually used it,
which is `yarn-deduplicate.sh`.
@LawnGnome LawnGnome added the ci label Jul 27, 2022
@LawnGnome LawnGnome requested a review from a team July 27, 2022 17:18
@cla-bot cla-bot Bot added the cla-signed label Jul 27, 2022

@jhchabran jhchabran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh my bad @LawnGnome, thanks for catching this 🙏

@LawnGnome LawnGnome merged commit 6e25baf into main Jul 27, 2022
@LawnGnome LawnGnome deleted the aharvey/yarn-ignore-scripts branch July 27, 2022 17:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants