Skip to content

Commit 2d3ee49

Browse files
committed
chore: move typecheck call from posttest hook to sepeate CI step'
1 parent 5ed2a8b commit 2d3ee49

File tree

10 files changed

+11
-19
lines changed

10 files changed

+11
-19
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ jobs:
2727
- run: npm run lint
2828
- run: npm run checkdeps
2929
- run: npm test
30+
- run: npm run typecheck

packages/betsy/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
"build:es": "tsc --outDir es --module ES2022 --target ES2022",
1515
"clean": "rimraf es lib coverage",
1616
"typecheck": "tsc --noEmit --skipLibCheck",
17-
"test": "jest",
17+
"test": "jest --runInBand",
1818
"test:watch": "jest --watch --updateSnapshot --coverage false",
1919
"prebuild": "npm run clean",
20-
"postbuild": "rimraf {lib,es}/**/__tests__",
21-
"posttest": "npm run typecheck"
20+
"postbuild": "rimraf {lib,es}/**/__tests__"
2221
},
2322
"keywords": [
2423
"events",

packages/overmind-devtools-client/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"start:devtools": "OV_DEV_PORT=$OV_DEV_PORT webpack-dev-server",
1212
"build": "webpack --config webpack.prod.js",
1313
"typecheck": "tsc --noEmit --skipLibCheck",
14-
"prepare": "npm run build",
15-
"posttest": "npm run typecheck"
14+
"prepare": "npm run build"
1615
},
1716
"keywords": [
1817
"overmind",

packages/overmind-graphql/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"test": "jest --runInBand --detectOpenHandles --forceExit",
1818
"test:watch": "jest --watch --updateSnapshot --coverage false",
1919
"prebuild": "npm run clean",
20-
"postbuild": "rimraf {lib,es}/**/__tests__",
21-
"posttest": "npm run typecheck"
20+
"postbuild": "rimraf {lib,es}/**/__tests__"
2221
},
2322
"keywords": [
2423
"state",

packages/overmind-react/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"test": "jest --runInBand",
1818
"test:watch": "jest --watch --updateSnapshot --coverage false",
1919
"prebuild": "npm run clean",
20-
"postbuild": "rimraf {lib,es}/**/__tests__",
21-
"posttest": "npm run typecheck"
20+
"postbuild": "rimraf {lib,es}/**/__tests__"
2221
},
2322
"keywords": [
2423
"state",

packages/overmind-statechart/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"test": "jest --runInBand",
1818
"test:watch": "jest --watch --updateSnapshot --coverage false",
1919
"prebuild": "npm run clean",
20-
"postbuild": "rimraf {lib,es}/**/__tests__",
21-
"posttest": "npm run typecheck"
20+
"postbuild": "rimraf {lib,es}/**/__tests__"
2221
},
2322
"keywords": [
2423
"state",

packages/overmind-svelte/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"test": "jest --runInBand",
1818
"test:watch": "jest --watch --updateSnapshot --coverage false",
1919
"prebuild": "npm run clean",
20-
"postbuild": "rimraf {lib,es}/**/__tests__",
21-
"posttest": "npm run typecheck"
20+
"postbuild": "rimraf {lib,es}/**/__tests__"
2221
},
2322
"keywords": [
2423
"state",

packages/overmind-vue/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"typecheck": "tsc --noEmit",
1717
"test:watch": "jest --watch --updateSnapshot --coverage false",
1818
"prebuild": "npm run clean",
19-
"postbuild": "rimraf {lib,es}/**/__tests__",
20-
"posttest": "npm run typecheck"
19+
"postbuild": "rimraf {lib,es}/**/__tests__"
2120
},
2221
"keywords": [
2322
"state",

packages/overmind/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"test:watch": "jest --watch --coverage false",
2020
"test:size": "size-limit",
2121
"prebuild": "npm run clean",
22-
"postbuild": "rimraf {lib,es}/**/__tests__",
23-
"posttest": "npm run typecheck"
22+
"postbuild": "rimraf {lib,es}/**/__tests__"
2423
},
2524
"keywords": [
2625
"state",

packages/proxy-state-tree/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"test:watch": "jest --watch --updateSnapshot --coverage false",
1717
"test:size": "size-limit",
1818
"prebuild": "npm run clean",
19-
"postbuild": "rimraf {lib,es}/**/__tests__",
20-
"posttest": "npm run typecheck"
19+
"postbuild": "rimraf {lib,es}/**/__tests__"
2120
},
2221
"repository": {
2322
"type": "git",

0 commit comments

Comments
 (0)