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

build: Quick fixes to release workflow #35

Merged
merged 6 commits into from
Dec 21, 2023

Conversation

nicholas-codecov
Copy link
Collaborator

@nicholas-codecov nicholas-codecov commented Dec 20, 2023

Description

Missed setting the required pnpm version in the workflows, also swapping over to use changeset pre-release mode.

Found the pre-release info from the changeset docs here, which will tag our releases with a -alpha.0 initially rather then having that done in the package json files themsevles.

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (256f916) 83.52% compared to head (4645d50) 83.52%.

Additional details and impacted files
Components Coverage Δ
Plugin core 96.33% <ø> (ø)
Rollup plugin 7.35% <ø> (ø)
Vite plugin 7.35% <ø> (ø)
Webpack plugin 33.33% <ø> (ø)

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

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

In general, the changes are straightforward and seem to be following best practices. However, there may be potential issues in terms of specifying the version number for pnpm. Additionally, repetition of configuration details for pnpm setup could suggest an opportunity for refactoring to improve overall code maintainability and readability.

.github/workflows/prepare-publish.yml Show resolved Hide resolved
.github/workflows/publish.yml Show resolved Hide resolved
Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

CodecovAI submitted a new review for 4645d50

@@ -0,0 +1,11 @@
{
Copy link

Choose a reason for hiding this comment

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

The addition of this pre.json file seems to be for configuration purposes. It would be helpful if there was a clear change description regarding its need.

"initialVersions": {
"@codecov/bundler-plugin-core": "0.0.1",
"@codecov/rollup-plugin": "0.0.1",
"@codecov/vite-plugin": "0.0.1",
Copy link

Choose a reason for hiding this comment

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

The initialVersions field has been initialized as '0.0.1' for each plugin. Make sure this version is the right one to start with.

@@ -1,6 +1,6 @@
{
"name": "@codecov/bundler-plugin-core",
"version": "0.0.1-alpha",
"version": "0.0.1",
Copy link

Choose a reason for hiding this comment

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

Version for '@codecov/bundler-plugin-core' has been changed from '0.0.1-alpha' to '0.0.1'. This seems indicative of moving from an alpha pre-release to an actual release.

@@ -1,6 +1,6 @@
{
"name": "@codecov/rollup-plugin",
"version": "0.0.1-alpha",
"version": "0.0.1",
Copy link

Choose a reason for hiding this comment

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

Version for '@codecov/rollup-plugin' package has been updated from '0.0.1-alpha' to '0.0.1'. Please confirm if this package is ready for production.

@@ -1,6 +1,6 @@
{
"name": "@codecov/vite-plugin",
"version": "0.0.1-alpha",
"version": "0.0.1",
Copy link

Choose a reason for hiding this comment

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

Ensure the '@codecov/vite-plugin' is sufficiently tested and stable before changing its version from the alpha flag.

@@ -1,6 +1,6 @@
{
"name": "@codecov/webpack-plugin",
"version": "0.0.1-alpha",
"version": "0.0.1",
Copy link

Choose a reason for hiding this comment

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

Version update spotted for '@codecov/webpack-plugin' as well. Make sure the versioning is consistent across all packages and they're ready for this change.

@nicholas-codecov nicholas-codecov merged commit 9b9d8e8 into main Dec 21, 2023
12 checks passed
@nicholas-codecov nicholas-codecov deleted the quick-fixes-to-release-workflow branch December 21, 2023 18:04
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.

2 participants