Skip to content

ci: publish previews without waiting for tests - #41

Merged
vite-hub[bot] merged 1 commit into
mainfrom
ci/publish-without-tests
Nov 21, 2026
Merged

vite-hub[bot] merged 1 commit into
mainfrom
ci/publish-without-tests

Conversation

@onmax

@onmax onmax commented Nov 21, 2026

Copy link
Copy Markdown
Owner

The pkg.pr.new preview showed up only after the slowest CI job finished. publish had needs: check, which is the whole ci.yml call, so it waited for the serial package tests (test (26) took 169 s in run 44876479207) even though the build job it took dist from was done after 35 s.

needs on a reusable workflow call waits for every job in it, so it can't point at build alone. This PR has publish run pnpm build and pnpm check itself, then publish, next to CI. A broken build or a failing check still publishes nothing. The test matrix, compare and dist still run in ci.yml as before; they just no longer hold the preview back. The check job's tinyaml doctor run stays in CI only.

Validation: actionlint passes on the workflow. The preview job on this PR is the real check.

🤖 Generated with Claude Code

The publish job waited for the whole CI run. It now builds and checks
the packages itself and runs next to the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-21T10:26:58.958777Z
We couldn’t complete this review. Comment @codex review to try again.
bd881b3 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@pkg-pr-new

pkg-pr-new Bot commented Nov 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

tinyaml

pnpm add https://pkg.pr.new/onmax/tiny/tinyaml@41

tinyini

pnpm add https://pkg.pr.new/onmax/tiny/tinyini@41

tinyjson5

pnpm add https://pkg.pr.new/onmax/tiny/tinyjson5@41

tinylinkify

pnpm add https://pkg.pr.new/onmax/tiny/tinylinkify@41

tinyswap

pnpm add https://pkg.pr.new/onmax/tiny/tinyswap@41

commit: bd881b3

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No new issues found.

Approach: Sound — the preview job builds and checks what it publishes without waiting for the full CI workflow.

Reviewed changes in .github/workflows/pkg-pr-new.yml:

  • Preview publishing: publish runs pnpm build and pnpm check before packaging its own build output. The existing restriction to same-repository PRs and designated push branches is unchanged.
  • CI and releases: The test matrix, comparisons, dist tests, and tinyaml Doctor check still run in CI, and the npm release workflow still uses the CI artifact.
  • Verification: The publish job succeeded before the Node 22 tests finished, and the preview bot posted install links for all five packages at bd881b3.

No P0 or P1 findings.

Pullfrog  | View workflow run | Using gpt-6.2-sol(high) | 𝕏

@vite-hub
vite-hub Bot merged commit 2d6391c into main Nov 21, 2026
10 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 21, 2026
@vite-hub

vite-hub Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

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