Skip to content

Commit

Permalink
build hooks seperate
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Dec 11, 2024
1 parent 87ca58f commit a31e8d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-code-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
- name: Checkout to repo
uses: actions/checkout@v3

- name: Clean build folder
run: yarn clean

- name: Install Dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn
Expand All @@ -58,6 +55,10 @@ jobs:
- name: Build Libs
run: yarn build:libs

- name: Build @owallet/hooks
working-directory: packages/hooks
run: yarn build

- name: Build provider
working-directory: apps/mobile
run: yarn build:provider
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"clean:watchman": "watchman watch-del-all",
"build": "lerna run build",
"rebuild": "lerna run rebuild",
"build:libs": "lerna run build --ignore @owallet/extension --ignore @owallet/proto-types --ignore @owallet/wc-client-example --include-dependencies --stream",
"build:libs": "lerna run build --ignore @owallet/extension --ignore @owallet/proto-types --ignore @owallet/wc-client-example --ignore @owallet/hooks --include-dependencies --stream",
"build:hooks": "lerna run build --scope @owallet/hooks",
"postinstall": "yarn update:libs && patch-package && rimraf node_modules/crypto && yarn workspace mobile postinstall",
"update:libs": "node ./scripts/update-inj.js",
"build:proto": "lerna run build:dev --scope @owallet/proto-types",
Expand Down

0 comments on commit a31e8d6

Please sign in to comment.