Skip to content

Commit e09cdad

Browse files
authored
test: run tsc prod on ci (#373)
1 parent 6384229 commit e09cdad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"test-local": "npm run prepare-database && egg-bin test --full-trace",
4646
"t": "npm run lint:fix && npm run prepare-database && egg-bin test --changed --full-trace",
4747
"cov": "npm run prepare-database && egg-bin cov --full-trace",
48-
"ci": "npm run lint && npm run cov",
48+
"ci": "npm run lint && npm run cov && npm run tsc:prod",
4949
"clean": "tsc -b --clean && rm -rf dist",
50-
"tsc": "npm run clean && ets && tsc -p ./tsconfig.json",
51-
"tsc:prod": "rm -rf dist && ets && tsc -p ./tsconfig.prod.json",
50+
"tsc": "npm run clean && tsc -p ./tsconfig.json",
51+
"tsc:prod": "npm run clean && tsc -p ./tsconfig.prod.json",
5252
"prepublishOnly": "npm run tsc:prod",
5353
"start": "eggctl start --daemon",
5454
"stop": "eggctl stop"

0 commit comments

Comments
 (0)