Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run yarn install as part of yarn deduplicate #7568

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Oct 23, 2023

Description

Running yarn install seems necessary to sync lockfile after yarn deduplicate.

This was already done in CI. This makes it happen when running the script locally, too.

Manual testing steps

  1. Update/install a package introducing a dupe
  2. Run yarn deduplicate and commit result
  3. Observe CI not complaining

Related issues

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained:
    • What problem this PR is solving.
    • How this problem was solved.
    • How reviewers can test my changes.
  • I’ve included tests if applicable.
  • I’ve documented any added code.
  • I’ve applied the right labels on the PR (see labeling guidelines).
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@legobeat legobeat changed the title chore: run yarn install as part of yarn dedupe chore: run yarn install as part of yarn deduplicate Oct 23, 2023
@legobeat legobeat marked this pull request as ready for review October 23, 2023 14:07
@legobeat legobeat requested a review from a team as a code owner October 23, 2023 14:07
@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3022144) 34.97% compared to head (9d27e7c) 34.97%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7568   +/-   ##
=======================================
  Coverage   34.97%   34.97%           
=======================================
  Files        1030     1030           
  Lines       27379    27379           
  Branches     2253     2253           
=======================================
  Hits         9577     9577           
  Misses      17292    17292           
  Partials      510      510           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@legobeat legobeat force-pushed the dedupe-and-install branch 3 times, most recently from 6917f82 to addff8b Compare October 25, 2023 09:17
@legobeat legobeat force-pushed the dedupe-and-install branch 5 times, most recently from 0bb07dd to 9d27e7c Compare October 30, 2023 00:56
@socket-security
Copy link

socket-security bot commented Oct 30, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Running `yarn install` seems necessary to sync lockfile after `yarn deduplicate`.

This was already done in CI. This makes it happen when running the
script locally, too.
@legobeat legobeat merged commit b76e9b4 into MetaMask:main Oct 30, 2023
24 checks passed
@legobeat legobeat deleted the dedupe-and-install branch October 30, 2023 23:40
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2023
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.

None yet

3 participants