Skip to content

Commit 7c3ce35

Browse files
committed
chore: check for bun before running test and pre-push scripts
1 parent ed61f4b commit 7c3ce35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
"check": "tsc --noEmit",
5050
"build": "tsc --noEmit && tsup",
5151
"attw": "attw --pack . --ignore-rules cjs-resolves-to-esm",
52-
"test": "vitest run src test/declarations --coverage --bail 1",
53-
"test:ci": "vitest run src test/declarations test/packages --coverage --bail 1",
54-
"test:update": "vitest run src test/declarations test/packages --update",
52+
"test": "bun --revision && vitest run src test/declarations --coverage --bail 1",
53+
"test:ci": "bun --revision && vitest run src test/declarations test/packages --coverage --bail 1",
54+
"test:update": "bun --revision && vitest run src test/declarations test/packages --update",
5555
"lint": "prettier --check .",
5656
"format": "prettier --write .",
57-
"pre-push": "pnpm i && pnpm lint && pnpm build && pnpm test:ci",
57+
"pre-push": "bun --revision && pnpm i && pnpm lint && pnpm build && pnpm test:ci",
5858
"release": "np"
5959
},
6060
"dependencies": {

0 commit comments

Comments
 (0)