Skip to content

Commit 479d816

Browse files
committed
revert: unnecessary mobile-setup action changes
The husky fix was the root cause of all workflow failures. The mobile-setup action changes were not needed since the action was already running from the correct directory.
1 parent 2b01367 commit 479d816

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/actions/mobile-setup/action.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ runs:
5555
- name: Install app dependencies
5656
shell: bash
5757
run: |
58-
# Configure Yarn from workspace root
58+
cd ${{ inputs.app_path }}
59+
60+
# Configure Yarn
5961
corepack enable
6062
yarn set version 4.6.0
6163
@@ -67,16 +69,15 @@ runs:
6769
echo "This happens when package.json was modified but yarn.lock wasn't updated."
6870
echo ""
6971
echo "To fix this:"
70-
echo " 1. Run 'yarn install' locally in the root directory"
72+
echo " 1. Run 'yarn install' locally in the app directory"
7173
echo " 2. Commit the updated yarn.lock file"
7274
echo " 3. Push your changes"
7375
echo ""
7476
echo "This ensures everyone has the exact same dependency versions."
7577
exit 1
7678
fi
7779
78-
# Run mobile-specific installation from app directory
79-
cd ${{ inputs.app_path }}
80+
# Run mobile-specific installation
8081
if [[ "${{ runner.os }}" == "macOS" ]]; then
8182
yarn install-app:mobile-deploy:ios
8283
else

0 commit comments

Comments
 (0)