From 9ff11b3b94a75146fb60189ba95f51f6540d9b41 Mon Sep 17 00:00:00 2001 From: Omar Shahine <10343873+omarshahine@users.noreply.github.com> Date: Sat, 10 Oct 2026 10:53:02 -0400 Subject: [PATCH 1/2] ci(clawhub): skip openclaw's install scripts so the publish runs on Node 22 Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/publish-clawhub.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-clawhub.yml b/.github/workflows/publish-clawhub.yml index 0120f6f..21cf210 100644 --- a/.github/workflows/publish-clawhub.yml +++ b/.github/workflows/publish-clawhub.yml @@ -47,10 +47,13 @@ jobs: npm version "$V" --no-git-tag-version --allow-same-version node -e "const f='openclaw.plugin.json',j=require('./'+f);j.version='$V';require('fs').writeFileSync(f,JSON.stringify(j,null,2)+'\n')" + # --ignore-scripts: the openclaw devDependency's preinstall refuses + # Node < 24.16, and the build here is only tsc, which needs none of + # its install scripts. v0.4.0's ClawHub publish failed on exactly this. - name: Install + build (compile TS so clawhub validator finds dist/) run: | cd openclaw - npm install --force + npm install --force --ignore-scripts npm run build - name: Publish to ClawHub From c04404df582cc2c0b94004f45397d00b2360a942 Mon Sep 17 00:00:00 2001 From: Omar Shahine <10343873+omarshahine@users.noreply.github.com> Date: Sat, 10 Oct 2026 10:57:07 -0400 Subject: [PATCH 2/2] ci(clawhub): name tsup, not tsc, in the --ignore-scripts comment Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/publish-clawhub.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-clawhub.yml b/.github/workflows/publish-clawhub.yml index 21cf210..4f87abf 100644 --- a/.github/workflows/publish-clawhub.yml +++ b/.github/workflows/publish-clawhub.yml @@ -48,8 +48,9 @@ jobs: node -e "const f='openclaw.plugin.json',j=require('./'+f);j.version='$V';require('fs').writeFileSync(f,JSON.stringify(j,null,2)+'\n')" # --ignore-scripts: the openclaw devDependency's preinstall refuses - # Node < 24.16, and the build here is only tsc, which needs none of - # its install scripts. v0.4.0's ClawHub publish failed on exactly this. + # Node < 24.16. The build uses tsup; its esbuild and rollup binaries + # arrive through optional platform packages, so no install script is + # needed. v0.4.0's ClawHub publish failed on exactly this. - name: Install + build (compile TS so clawhub validator finds dist/) run: | cd openclaw