Skip to content

Commit

Permalink
Typecheck in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dguenther committed Aug 10, 2024
1 parent b83efab commit 88d6382
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ jobs:
run: npm ci

- name: Lint
run: npm run lint
run: npm run lint

- name: Typecheck
run: npm run typecheck
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"lint": "npm run lint --workspaces --if-present -- --max-warnings=0",
"lint:fix": "npm run lint --workspaces --if-present -- --fix --max-warnings=0",
"typecheck": "npm run typecheck --workspaces --if-present",
"postinstall": "git submodule update --init --recursive"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/data-facade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@tanstack/react-query": "^5.28.14",
Expand Down
3 changes: 2 additions & 1 deletion packages/ironfish-native-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"cargo-ios": "tsx scripts/cargo-ios.ts",
"cargo-ios-sim": "tsx scripts/cargo-ios.ts --target=ios-sim",
"cargo-android": "tsx scripts/cargo-android.ts",
"build-rust": "npm run cargo-android && npm run cargo-ios -- --target=ios-sim"
"build-rust": "npm run cargo-android && npm run cargo-ios -- --target=ios-sim",
"typecheck": "tsc --noEmit"
},
"keywords": [
"react-native",
Expand Down
3 changes: 2 additions & 1 deletion packages/mobile-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"android": "expo run:android",
"ios": "expo run:ios",
"prebuild": "expo prebuild",
"lint": "eslint ."
"lint": "eslint .",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@ironfish/sdk": "2.2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
],
"scripts": {
"build": "tamagui-build --skip-types",
"watch": "tamagui-build --skip-types --watch"
"watch": "tamagui-build --skip-types --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@tamagui/config": "1.102.1",
Expand Down

0 comments on commit 88d6382

Please sign in to comment.