Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,15 @@ jobs:
echo "channel=rc" >> "$GITHUB_OUTPUT"
fi

# @bravemobile/react-native-code-push@12.3.2 hardcodes
# `node_modules/.bin/react-native` relative to cwd. After #14365 the
# react-native dep hoists to root node_modules, so the bin is only at
# ./node_modules/.bin/react-native — not packages/mobile/node_modules/.bin/.
- name: Symlink react-native CLI into packages/mobile/node_modules/.bin
run: |
mkdir -p packages/mobile/node_modules/.bin
ln -sf "$(pwd)/node_modules/.bin/react-native" packages/mobile/node_modules/.bin/react-native

- name: Publish OTA update (${{ matrix.platform }})
env:
OTA_S3_BUCKET: ${{ secrets.OTA_S3_BUCKET }}
Expand Down Expand Up @@ -390,6 +399,15 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

# @bravemobile/react-native-code-push@12.3.2 hardcodes
# `node_modules/.bin/react-native` relative to cwd. After #14365 the
# react-native dep hoists to root node_modules, so the bin is only at
# ./node_modules/.bin/react-native — not packages/mobile/node_modules/.bin/.
- name: Symlink react-native CLI into packages/mobile/node_modules/.bin
run: |
mkdir -p packages/mobile/node_modules/.bin
ln -sf "$(pwd)/node_modules/.bin/react-native" packages/mobile/node_modules/.bin/react-native

- name: Publish OTA update to production (${{ matrix.platform }})
env:
OTA_S3_BUCKET: ${{ secrets.OTA_S3_BUCKET }}
Expand Down
Loading