diff --git a/.github/workflows/release-code-push.yaml b/.github/workflows/release-code-push.yaml index a93234a96..ba51afd0c 100644 --- a/.github/workflows/release-code-push.yaml +++ b/.github/workflows/release-code-push.yaml @@ -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 @@ -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 diff --git a/package.json b/package.json index 0138a23f9..95b383dd1 100644 --- a/package.json +++ b/package.json @@ -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",