Skip to content

Commit 8f0a31a

Browse files
committed
refactor: test scripts for efficiency
build: streamlines release testing process Updates the `test:release` script to run all tests via the `test` command, removing redundant calls. Introduces a `test:quick` script for faster local testing by running only unit and SQLite tests.
1 parent f2d75ec commit 8f0a31a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
"lint": "eslint .",
6868
"lint:fix": "eslint . --fix",
6969
"pretest": "node -v | grep -q 'v22' || (echo 'Please use Node.js v22 for testing' && exit 1)",
70-
"test:release": "yarn test:types && yarn test:unit && yarn test:integration && yarn test:sqlite && yarn build && yarn lint:fix",
70+
"test:quick": "yarn test:unit && yarn test:sqlite",
71+
"test:release": "yarn test && yarn build && yarn lint:fix",
7172
"test:types": "yarn dev:prepare && vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
7273
"test:unit": "./scripts/test-unit.sh",
7374
"test:integration": "./scripts/test-integration.sh",

0 commit comments

Comments
 (0)