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: add check to install-and-build script to disallow yarn 1 #1391

Open
wants to merge 1 commit into
base: release53
Choose a base branch
from

Conversation

nytamin
Copy link
Contributor

@nytamin nytamin commented Feb 25, 2025

About the Contributor

This pull request is posted on behalf of the NRK.

Type of Contribution

This is a: Code improvement

Current Behavior

If I have yarn 1 / yarn classic installed on my system, I get some errors such as 'run' not a executable command and the like, which are hard to troubleshoot for a new developer.

New Behavior

When running install-and-build, the script will catch the issue early and provide a user friendlier feedback.

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

This is because if one has a system that has yarn 1 / yarn classic installed, some weird errors pop up during instllatoin and build. This script will catch the issue early and provice a user friendlier feedback
@nytamin nytamin requested a review from a team as a code owner February 25, 2025 12:29
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (release53@955d96e). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff              @@
##             release53    #1391   +/-   ##
============================================
  Coverage             ?   56.27%           
============================================
  Files                ?      408           
  Lines                ?    73094           
  Branches             ?     4217           
============================================
  Hits                 ?    41136           
  Misses               ?    31867           
  Partials             ?       91           

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant