Skip to content

Commit 76ff891

Browse files
Copilotcyanzhong
andcommitted
Decouple build from lint/test to avoid deploy on validation
Co-authored-by: cyanzhong <6745066+cyanzhong@users.noreply.github.com>
1 parent a53fc03 commit 76ff891

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"version": "1.0.0",
44
"description": "MarkEdit grammar checker based on Harper.",
55
"scripts": {
6-
"build": "yarn lint && yarn test && vite build",
6+
"build": "vite build",
7+
"precheck": "yarn lint && yarn test",
78
"lint": "eslint .",
89
"test": "vitest run",
910
"reload": "osascript -e 'quit app \"MarkEdit\"' -e 'delay 1' -e 'launch app \"MarkEdit\"'",

0 commit comments

Comments
 (0)