Skip to content

Commit 19ee9bc

Browse files
committed
fix(publish): simplify publish script to prevent CI hangs
Remove redundant check/build logic from publish script. The ci:validate script already runs tests, checks, and builds before publish:ci runs. The publish script now only validates artifacts exist and publishes. This fixes potential CI hangs caused by running tests with piped stdio.
1 parent 3d23e24 commit 19ee9bc

2 files changed

Lines changed: 86 additions & 265 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"prepare": "husky",
4848
"prepublishOnly": "echo 'ERROR: Use GitHub Actions workflow for publishing' && exit 1",
4949
"publish": "node scripts/publish.mjs",
50-
"publish:ci": "node scripts/publish.mjs --skip-git --skip-build --tag ${DIST_TAG:-latest}",
50+
"publish:ci": "node scripts/publish.mjs --tag ${DIST_TAG:-latest}",
5151
"claude": "node scripts/claude.mjs",
5252
"test": "node scripts/test.mjs",
5353
"type": "tsgo --noEmit -p .config/tsconfig.check.json",

0 commit comments

Comments
 (0)