Skip to content

chore: build before stage publish#79

Open
chenjiahan wants to merge 1 commit into
mainfrom
codex/build-before-stage-publish
Open

chore: build before stage publish#79
chenjiahan wants to merge 1 commit into
mainfrom
codex/build-before-stage-publish

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • Build packages in the release workflow before pnpm stage publish.
  • Remove duplicate build commands from scripts.prepare where present.

Validation

  • Verified staged publish workflows have a preceding pnpm build.
  • Ran git diff --check.

@chenjiahan chenjiahan marked this pull request as ready for review May 29, 2026 12:57
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7438e1f6f0

ℹ️ 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".

Comment thread package.json
"lint:write": "rslint --fix",
"prebundle": "node ./bin.js",
"prepare": "rslib",
"bump": "npx bumpp",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore the build before CI tests

Removing prepare means the CI install step no longer runs rslib, and the checked .github/workflows/ci.yml still goes from pnpm install --frozen-lockfile to lint and then pnpm test without any build step. The tests execute bin.js, which imports ./dist/index.js, but dist/ is not tracked in a fresh checkout, so every CI test job will fail with the missing dist module unless prepare is kept or CI/test builds first.

Useful? React with 👍 / 👎.

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.

1 participant