Skip to content

Commit 081ce85

Browse files
author
echoVic
committed
fix(ci): 在 CI 环境跳过 prepare 脚本避免 bun 依赖
1 parent 7be250a commit 081ce85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"release:minor": "node scripts/release.js --minor",
5353
"release:patch": "node scripts/release.js --patch",
5454
"clean": "rm -rf dist node_modules/.cache coverage",
55-
"prepare": "bun run build",
55+
"prepare": "test -n \"$CI\" || bun run build",
5656
"preflight": "npm run clean && pnpm install && npm run format && npm run lint && npm run build && npm run type-check && npm run test:ci"
5757
},
5858
"keywords": [

0 commit comments

Comments
 (0)