Skip to content

Commit dccff48

Browse files
chore(web): split test vs verify scripts
Make `yarn test` typecheck-only for fast local runs Add `yarn verify` to run typecheck + build Update CI workflow to run `yarn verify`
1 parent 704a99d commit dccff48

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
mode:
2121
- command: prettier:check
2222
skip-build: true
23-
- command: test
23+
- command: verify
2424
skip-build: true
2525

2626
fail-fast: false

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "rsbuild build",
99
"preview": "rsbuild preview",
1010
"typecheck": "tsc -p tsconfig.json --noEmit",
11-
"test": "yarn typecheck && yarn build",
11+
"test": "yarn typecheck",
12+
"verify": "yarn typecheck && yarn build",
1213
"prettier:check": "prettier --list-different .",
1314
"prettier:fix": "prettier --write ."
1415
},

0 commit comments

Comments
 (0)