Skip to content

Commit

Permalink
chore: bun run build instead of bun build
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangvu12 committed Sep 6, 2024
1 parent 7ea6de6 commit dcc8490
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-alpha-release-apk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ jobs:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}

- name: ⚙️ Run Prebuild
run: bun prebuild:alpha
shell: bash

- name: 📱 Run Android Build
run: bun build:alpha --non-interactive --output=kaguya-${{github.ref_name}}.apk --no-wait --message "Build alpha ${{ github.ref_name }}"
run: bun run build:alpha --non-interactive --output=kaguya-${{github.ref_name}}.apk --no-wait --message "Build alpha ${{ github.ref_name }}"
shell: bash
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"android:production": "cross-env APP_ENV=production bun run android",
"ios:production": "cross-env APP_ENV=production bun run ios",
"build": "npx eas-cli@latest build --platform android --local",
"build:development": "cross-env APP_ENV=development bun build --profile development",
"build:alpha": "cross-env APP_ENV=alpha bun build --profile alpha",
"build:production": "cross-env APP_ENV=production bun build --profile production",
"build:development": "cross-env APP_ENV=development bun run build --profile development",
"build:alpha": "cross-env APP_ENV=alpha bun run build --profile alpha",
"build:production": "cross-env APP_ENV=production bun run build --profile production",
"postinstall": "husky install",
"np-release": "cross-env SKIP_BRANCH_PROTECTION=true np --no-publish --no-cleanup",
"version": "bun run prebuild && git add .",
Expand Down

0 comments on commit dcc8490

Please sign in to comment.