3D engine that AI agents drive
CI: wait five minutes for the registry after publish
Nguyen Xuan An8d3a4332542e
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 947fdcc0..6989241e 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -35,16 +35,16 @@ jobs:run: |expected=$(node -p "require('./package.json').version")name=$(node -p "require('./package.json').name")- for attempt in $(seq 1 12); do+ for attempt in $(seq 1 30); dopublished=$(npm view "${name}" version 2>/dev/null || true)if [ "${published}" = "${expected}" ]; thenecho "${name}@${published} is live."exit 0fi- echo "Registry shows '${published}', waiting for ${expected} (attempt ${attempt} of 12)."+ echo "Registry shows '${published}', waiting for ${expected} (attempt ${attempt} of 30)."sleep 10done- echo "The registry did not serve ${name}@${expected} within two minutes." >&2+ echo "The registry did not serve ${name}@${expected} within five minutes." >&2exit 1release:diff --git a/changes/560-registry-wait.md b/changes/560-registry-wait.mdnew file mode 100644index 00000000..25edde5b--- /dev/null+++ b/changes/560-registry-wait.md@@ -0,0 +1 @@+- The publish workflow waits up to five minutes for the registry to serve a new version instead of two. The 0.16.0 publish succeeded, but the registry took longer than two minutes, so the check failed and skipped the release page.