Skip to content

ci: add test-publish#477

Merged
colinaaa merged 7 commits intolynx-family:mainfrom
colinaaa:colin/0405/publish
Apr 5, 2025
Merged

ci: add test-publish#477
colinaaa merged 7 commits intolynx-family:mainfrom
colinaaa:colin/0405/publish

Conversation

@colinaaa
Copy link
Copy Markdown
Collaborator

@colinaaa colinaaa commented Apr 5, 2025

Summary

A new test test-publish has been added.

This test setup a mocked NPM registry using @pnpm/registry-mock (verdaccio underhood) and publish all packages to that registry. Then a Rspeedy App will be created and tested using the newly published packages.

This is used to avoid future regression like: #475, #478 and #479.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 5, 2025

⚠️ No Changeset found

Latest commit: ea286b2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 5, 2025

CodSpeed Performance Report

Merging #477 will not alter performance

Comparing colinaaa:colin/0405/publish (ea286b2) with main (8eff9dd)

Summary

✅ 1 untouched benchmarks

colinaaa added 4 commits April 5, 2025 16:47
```
npm error code ENEEDAUTH
npm error need auth This command requires you to be logged in to http://localhost:4873/
npm error need auth You need to authorize this machine using `npm adduser`
```
@colinaaa colinaaa requested a review from Copilot April 5, 2025 09:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • cspell.jsonc: Language not supported
Comments suppressed due to low confidence (2)

.github/workflows/test.yml:146

  • The registry mock is started in the background without checking if it is ready before proceeding. Consider adding a wait or health check to ensure the mocked registry is available before publishing.
pnpm dlx @pnpm/registry-mock &

.github/workflows/test.yml:151

  • [nitpick] Consider using modern command substitution syntax $(mktemp -d) instead of backticks for improved readability and maintainability.
cd `mktemp -d`

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@colinaaa colinaaa marked this pull request as ready for review April 5, 2025 10:14
@colinaaa colinaaa merged commit 50cff2a into lynx-family:main Apr 5, 2025
22 checks passed
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