Skip to content

Commit

Permalink
update build cicd ext
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Jan 22, 2025
1 parent 2c16c00 commit f1810a9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release-code-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
working-directory: apps/mobile
run: yarn --silent

- name: Build Libs Codepush
- name: Build Libs Extension
run: yarn build:codepush

- name: Build @owallet/hooks
Expand All @@ -70,19 +70,19 @@ jobs:
yarn code-push-android --token ${{ secrets.CODEPUSH_TOKEN }} --description "${{ github.event.head_commit.message }}"
yarn code-push-ios --token ${{ secrets.CODEPUSH_TOKEN }} --description "${{ github.event.head_commit.message }}"
- name: Send discord message
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }}
username: "GitBot"
message: Code pushed success! Comment=${{ github.event.head_commit.message }}
# - name: Send discord message
# uses: appleboy/discord-action@master
# with:
# webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }}
# webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }}
# username: "GitBot"
# message: Code pushed success! Comment=${{ github.event.head_commit.message }}

- name: Send discord message
if: ${{ failure() }}
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }}
username: "GitBot"
message: Code pushed fail ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }}
# - name: Send discord message
# if: ${{ failure() }}
# uses: appleboy/discord-action@master
# with:
# webhook_id: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }}
# webhook_token: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }}
# username: "GitBot"
# message: Code pushed fail ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"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:codepush": "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",
"build:libs": "lerna run build --ignore @owallet/extension --ignore @owallet/proto-types --ignore @owallet/wc-client-example --include-dependencies --stream",
"build:codepush": "lerna run build --ignore @owallet/extension --ignore @owallet/hooks --ignore @owallet/hooks-internal --ignore @owallet/proto-types --ignore @owallet/wc-client-example --include-dependencies --stream",
"build:hooks": "lerna run build --scope @owallet/hooks --scope @owallet/hooks-internal",
"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 f1810a9

Please sign in to comment.