-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
build: Add codecov bundle analysis for npm packages #11276
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
Conversation
Given our bundling setup is a little more complicated, this patch adds codecov bundle analysis for our npm builds (ESM and CJS). It generates the bundle name from the package.json
size-limit report 📦
|
This works! although is a little jank. Let's get it merged in so that we can collect results from |
@@ -26,7 +26,7 @@ | |||
"yaml": "2.2.2" | |||
}, | |||
"volta": { | |||
"node": "18.17.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the bump?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov plugins require min Node version of 18.18.0
.
Do you have a link to where I can see the result of this (as an example)? :) |
I did have a link, but it's stopped showing up :/ https://app.codecov.io/gh/getsentry/sentry-javascript/bundles/abhi-codecov-npm let me dig into why |
Given our bundling setup is a little more complicated, this patch adds codecov bundle analysis for our just our npm builds (ESM and CJS). It generates the bundle name from the package.json Previous attempt: getsentry#10682 https://docs.codecov.com/docs/rollup-quick-start https://app.codecov.io/gh/getsentry/sentry-javascript/bundles
Given our bundling setup is a little more complicated, this patch adds codecov bundle analysis for our just our npm builds (ESM and CJS). It generates the bundle name from the package.json
Previous attempt: #10682
https://docs.codecov.com/docs/rollup-quick-start
https://app.codecov.io/gh/getsentry/sentry-javascript/bundles