Skip to content

Commit a9fb7c0

Browse files
authored
Typecheck in CI (#40)
1 parent b83efab commit a9fb7c0

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ jobs:
2727
run: npm ci
2828

2929
- name: Lint
30-
run: npm run lint
30+
run: npm run lint
31+
32+
- name: Typecheck
33+
run: npm run typecheck

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"lint": "npm run lint --workspaces --if-present -- --max-warnings=0",
88
"lint:fix": "npm run lint --workspaces --if-present -- --fix --max-warnings=0",
9+
"typecheck": "npm run typecheck --workspaces --if-present",
910
"postinstall": "git submodule update --init --recursive"
1011
},
1112
"devDependencies": {

packages/data-facade/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "./src/index.ts",
77
"types": "./src/index.ts",
88
"scripts": {
9-
"test": "echo \"Error: no test specified\" && exit 1"
9+
"typecheck": "tsc --noEmit"
1010
},
1111
"devDependencies": {
1212
"@tanstack/react-query": "^5.28.14",

packages/ironfish-native-module/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"cargo-ios": "tsx scripts/cargo-ios.ts",
1818
"cargo-ios-sim": "tsx scripts/cargo-ios.ts --target=ios-sim",
1919
"cargo-android": "tsx scripts/cargo-android.ts",
20-
"build-rust": "npm run cargo-android && npm run cargo-ios -- --target=ios-sim"
20+
"build-rust": "npm run cargo-android && npm run cargo-ios -- --target=ios-sim",
21+
"typecheck": "tsc --noEmit"
2122
},
2223
"keywords": [
2324
"react-native",

packages/mobile-app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"android": "expo run:android",
88
"ios": "expo run:ios",
99
"prebuild": "expo prebuild",
10-
"lint": "eslint ."
10+
"lint": "eslint .",
11+
"typecheck": "tsc --noEmit"
1112
},
1213
"dependencies": {
1314
"@ironfish/sdk": "2.2.0",

packages/ui-kit/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"scripts": {
1818
"build": "tamagui-build --skip-types",
19-
"watch": "tamagui-build --skip-types --watch"
19+
"watch": "tamagui-build --skip-types --watch",
20+
"typecheck": "tsc --noEmit"
2021
},
2122
"dependencies": {
2223
"@tamagui/config": "1.102.1",

0 commit comments

Comments
 (0)