Skip to content

Commit ac19ef5

Browse files
committed
refactor: update CI workflow and package scripts for improved type checking and cleaning
1 parent 0104367 commit ac19ef5

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: yarn lint
2525

2626
- name: Typecheck files
27-
run: yarn workspaces foreach --all --parallel run prepare && yarn typecheck
27+
run: yarn workspaces foreach --all --topological-dev run prepare && yarn typecheck
2828

2929
build-library:
3030
runs-on: ubuntu-latest
@@ -36,4 +36,4 @@ jobs:
3636
uses: ./.github/actions/setup
3737

3838
- name: Build all packages
39-
run: yarn workspaces foreach --all --parallel run prepare
39+
run: yarn workspaces foreach --all --topological-dev run prepare

packages/bare-resource-fetcher/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"scripts": {
2323
"prepare": "tsc",
2424
"typecheck": "tsc --noEmit",
25-
"lint": "eslint \"**/*.{js,ts,tsx}\""
25+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
26+
"clean": "del-cli lib"
2627
},
2728
"peerDependencies": {
2829
"@dr.pogodin/react-native-fs": "^2.0.0",

packages/expo-resource-fetcher/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"scripts": {
2323
"prepare": "tsc",
2424
"typecheck": "tsc --noEmit",
25-
"lint": "eslint \"**/*.{js,ts,tsx}\""
25+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
26+
"clean": "del-cli lib"
2627
},
2728
"peerDependencies": {
2829
"expo": ">=54.0.0",

0 commit comments

Comments
 (0)