Skip to content

Commit 0bc670a

Browse files
Copilotserhalp
andcommitted
Add explicit type-checking scripts to test suites
Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com>
1 parent cd19b7f commit 0bc670a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/blobs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"test:ci": "run-s build test:ci:*",
5454
"test:dev:vitest": "vitest",
5555
"test:dev:vitest:watch": "vitest watch",
56+
"test:ci:types": "tsc --noEmit",
5657
"test:ci:vitest": "vitest run",
5758
"publint": "npx -y publint --strict"
5859
},

packages/dev/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@
3232
"scripts": {
3333
"build": "tsup-node",
3434
"prepack": "npm run build",
35-
"test": "vitest run",
35+
"test": "npm run test:types && npm run test:vitest",
3636
"test:dev": "vitest",
37-
"test:ci": "npm run build && vitest run",
37+
"test:ci": "npm run build && npm run test:types && npm run test:vitest",
38+
"test:types": "tsc --noEmit",
39+
"test:vitest": "vitest run",
3840
"dev": "tsup-node --watch",
3941
"publint": "npx -y publint --strict"
4042
},

packages/functions/prod/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"test:dev:tsd": "tsd",
4646
"test:dev:vitest": "vitest",
4747
"test:ci": "run-s test:ci:*",
48+
"test:ci:types": "tsc --noEmit",
4849
"test:ci:vitest": "npm run build && vitest run",
4950
"publint": "npx -y publint --strict"
5051
},

0 commit comments

Comments
 (0)