Skip to content

ci: wait for the published version to be installable before creating the release - #94

Merged
panz3r merged 1 commit into
mainfrom
ci/publish-wait
Sep 29, 2026
Merged

panz3r merged 1 commit into
mainfrom
ci/publish-wait

Conversation

@panz3r

@panz3r panz3r commented Sep 29, 2026

Copy link
Copy Markdown
Member

npm processes new versions for a few minutes after the upload is accepted (publish-time scanning); qrcodets 1.0.1 took several minutes to appear after the GitHub release was already created.

pnpm publish --publish-wait-timeout 600000 (pnpm 12.7+) waits up to 10 minutes until the exact version is installable, so gh release create only runs once npm serves it. If the wait times out, the upload stays accepted and a rerun skips publishing (version already on the registry) and just creates the release.

@panz3r
panz3r merged commit ab47adb into main Sep 29, 2026
5 checks passed
@panz3r
panz3r deleted the ci/publish-wait branch September 29, 2026 21:19
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