Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Add YARN_ENABLE_IMMUTABLE_INSTALLS=false for dependabot fix #1126

Merged
merged 1 commit into from Jun 1, 2021

Conversation

jtbandes
Copy link
Member

@jtbandes jtbandes commented Jun 1, 2021

This action is currently failing with The lockfile would have been modified by this install, which is explicitly forbidden. However, the purpose of the action is to modify the lockfile.

This likely broke in the yarn upgrade (part of #1084).

@jtbandes jtbandes requested a review from amacneil June 1, 2021 18:12
Copy link
Contributor

@amacneil amacneil left a comment

Choose a reason for hiding this comment

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

I'm fairly sure this fix is correct. The yarn 3 changelog says that immutable mode was changed to default on for CI environments in v3+.

This github action is explicitly intended to update the lockfile (that's the whole point of the action), so disabling immutable mode is what we want.

@jtbandes jtbandes merged commit 2797d56 into main Jun 1, 2021
@jtbandes jtbandes deleted the jacob/fix-dependabot-fix branch June 1, 2021 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants