Skip to content

Commit 614835e

Browse files
committed
chore: move yarn prepare from adapter typecheck scripts to CI workflow
1 parent 359427b commit 614835e

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ jobs:
2424
run: yarn lint
2525

2626
- name: Typecheck files
27-
run: yarn typecheck
27+
run: |
28+
cd packages/react-native-executorch
29+
yarn prepare
30+
cd ../../
31+
yarn typecheck
2832
2933
build-library:
3034
runs-on: ubuntu-latest

packages/bare-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
},
1313
"scripts": {
14-
"typecheck": "yarn workspace react-native-executorch run prepare && tsc --noEmit",
14+
"typecheck": "tsc --noEmit",
1515
"lint": "eslint \"**/*.{js,ts,tsx}\""
1616
},
1717
"peerDependencies": {

packages/expo-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
},
1313
"scripts": {
14-
"typecheck": "yarn workspace react-native-executorch run prepare && tsc --noEmit",
14+
"typecheck": "tsc --noEmit",
1515
"lint": "eslint \"**/*.{js,ts,tsx}\""
1616
},
1717
"peerDependencies": {

0 commit comments

Comments
 (0)