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

fix(build/CI): Run prepublish scripts before building tarballs #64

Merged
merged 2 commits into from
Feb 24, 2023

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Feb 24, 2023

Previously, in the "Upload Artifacts" job, we didn't explicitly run a build command but instead relied on the package-specific prepack yarn scripts. This caused an incomplete @sentry-internal/rrweb-player package, as this package didn't have a prepack script. This PR now adds a step to the CI job to actually run the prepublish build command before packing the tarballs.

I checked the resulting tarball against the actual rrweb player and it seems all files are present now. Uploaded artifacts of a test branch: https://github.com/getsentry/rrweb/actions/runs/4263220937

Misc: This PR also updates a type declaration file that was stale beforehand.

closes #63

@Lms24 Lms24 requested a review from billyvg February 24, 2023 14:33
Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!!

@Lms24 Lms24 merged commit d34bf3a into sentry-v1 Feb 24, 2023
@Lms24 Lms24 deleted the lms/fix-rrweb-player-build branch February 24, 2023 14:39
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.

Fix publishing of @sentry-internal/rrweb-player
2 participants