fix(ci): use bunx tsc instead of bare tsc in publish workflow

tsc is not in PATH when installed via bun - use bunx to run from node_modules/.bin
This commit is contained in:
justsisyphus 2026-01-16 00:54:58 +09:00
parent c38b078c12
commit 37d4aec4d0

View File

@ -109,7 +109,7 @@ jobs:
echo "=== Running bun build (CLI) ==="
bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi
echo "=== Running tsc ==="
tsc --emitDeclarationOnly
bunx tsc --emitDeclarationOnly
echo "=== Running build:schema ==="
bun run build:schema