[test] try to auto test Windows and MacOS

This commit is contained in:
LouisLam
2021-10-07 20:01:33 +08:00
parent 3c60800eab
commit 20af179a82
2 changed files with 3 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
"start-server-dev": "cross-env NODE_ENV=development node server/server.js",
"build": "vite build",
"test": "node test/prepare-test-server.js && node server/server.js --port=3002 --data-dir=./data/test/ --test",
"test-with-build": "npm run build && npm test",
"jest": "node test/prepare-jest.js && jest",
"tsc": "tsc",
"vite-preview-dist": "vite preview --host",