ci: publish package to GitHub Packages#7
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 855090b35a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| cache-dependency-path: | | ||
| sumit-react/pnpm-lock.yaml | ||
| sumit-api/pnpm-lock.yaml | ||
| registry-url: https://npm.pkg.github.com |
There was a problem hiding this comment.
Keep install registry on npmjs before build steps
Setting registry-url to https://npm.pkg.github.com at setup time makes all subsequent pnpm install steps resolve packages from GitHub Packages instead of npmjs, so standard dependencies like react are looked up at npm.pkg.github.com and fail (403/404). In this workflow, installs happen immediately after setup (Build sumit-api peer package and Install sumit-react), so the publish job will fail before packaging unless the registry is switched back or scoped only to the publish step.
Useful? React with 👍 / 👎.
Summary
@digitizers/sumit-reactfor npm.pkg.github.comGITHUB_TOKENwithpackages: writeso the package appears in the repo sidebarTest Plan