-
Notifications
You must be signed in to change notification settings - Fork 72
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
Run nyc with correct packager manager command #364
Conversation
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
This seems to have worked splendidly for us, running it with |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #364 +/- ##
=======================================
Coverage 76.66% 76.66%
=======================================
Files 11 11
Lines 180 180
Branches 40 40
=======================================
Hits 138 138
Misses 42 42 ☔ View full report in Codecov by Sentry. |
Thank you so much for testing it out @Marvellanius !! I'll merge and release |
🚀 PR was released in |
Closes #266
Originally created by @ferdinandhummel-gph in #271.
This PR introduces a fix to the coverage functionality of the test-runner, where the nyc command is run using the correct package manager exec command. This fixes compatibility with package managers other than
npm
, such asyarn
orpnpm
.Only reason I'm creating this PR is to allow for the canary release workflow to be done, which wasn't possible in the fork from the previous PR. Thank you @ferdinandhummel-gph !
For the ones interested, please try the canary and provide feedback:
📦 Published PR as canary version:
0.13.1--canary.364.06c986a.0
✨ Test out this PR locally via:
npm install @storybook/test-runner@0.13.1--canary.364.06c986a.0 # or yarn add @storybook/test-runner@0.13.1--canary.364.06c986a.0
Version
Published prerelease version:
v0.13.1-next.2
Changelog
🐛 Bug Fix
engines.node
to>=12.0.0
#351 (@legobeat)🏠 Internal
yarn.lock
#347 (@legobeat)📝 Documentation
Authors: 4