Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9828bbd
feat: add version management system with build number tracking
Jul 10, 2025
c84e27a
feat: integrate version.json with Fastlane deployment process
Jul 10, 2025
673da06
feat: enhance deploy confirmation with version.json info
Jul 10, 2025
0bf0cac
fix: use ENV variable directly in increment_build_number to avoid sec…
Jul 10, 2025
95768fc
fix: correct xcodeproj path for GitHub Actions workflow
Jul 10, 2025
a89200a
feat: add test mode to workflow for safe testing
Jul 10, 2025
f68b160
fix: use gradle_file_path instead of gradle_file for increment_versio…
hackertron Jul 10, 2025
04ec74a
fix: use gsub to remove ../ prefix for CI compatibility
hackertron Jul 10, 2025
795e58c
chore: remove accidentally committed files
hackertron Jul 10, 2025
1bb3c7e
feat: auto-commit version.json after successful deployment
hackertron Jul 10, 2025
feaca68
feat : update package.json in build step using npm version
hackertron Jul 14, 2025
69a3f42
feat: add comprehensive caching to mobile deployment workflow
hackertron Jul 14, 2025
28c8267
fix: move bundler config after Ruby setup in mobile-setup action
hackertron Jul 14, 2025
555defc
fix: rename cache env vars to avoid Yarn conflicts
hackertron Jul 14, 2025
47cdb5e
fix: remove bundler deployment mode to allow Gemfile updates
hackertron Jul 14, 2025
8d30040
feat: implement strict lock file enforcement (Option 1)
hackertron Jul 14, 2025
0076db0
fix: update Gemfile.lock for CI environment
hackertron Jul 14, 2025
13a76e0
fix: correct yarn.lock path for monorepo workspace
hackertron Jul 14, 2025
d7f5dfc
fix: handle both boolean and string test_mode parameter
hackertron Jul 14, 2025
07a6859
fix: address code review feedback for mobile deployment workflow
hackertron Jul 15, 2025
290cd3d
fix: formatting and linting issues
hackertron Jul 15, 2025
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
46 changes: 45 additions & 1 deletion .github/actions/mobile-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,55 @@ runs:
with:
node-version: ${{ inputs.node_version }}

- name: Configure bundler
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. i like how you locked things down

shell: bash
run: |
cd ${{ inputs.app_path }}
bundle config set --local path 'vendor/bundle'
bundle config set --local deployment 'true'
echo "✅ Bundler configured for strict mode (deployment=true)"

- name: Install app dependencies
shell: bash
run: |
cd ${{ inputs.app_path }}

# Configure Yarn
corepack enable
yarn set version 4.6.0
yarn install

echo "📦 Installing JavaScript dependencies with strict lock file..."
if ! yarn install --immutable; then
echo ""
echo "❌ ERROR: yarn.lock is out of date!"
echo ""
echo "This happens when package.json was modified but yarn.lock wasn't updated."
echo ""
echo "To fix this:"
echo " 1. Run 'yarn install' locally in the app directory"
echo " 2. Commit the updated yarn.lock file"
echo " 3. Push your changes"
echo ""
echo "This ensures everyone has the exact same dependency versions."
exit 1
fi

# Run mobile-specific installation
yarn install-app:mobile-deploy

# Install Ruby gems with bundler (respecting cache)
echo "📦 Installing Ruby gems with strict lock file..."
if ! bundle install --jobs 4 --retry 3; then
echo ""
echo "❌ ERROR: Gemfile.lock is out of date!"
echo ""
echo "This happens when Gemfile was modified but Gemfile.lock wasn't updated."
echo ""
echo "To fix this:"
echo " 1. Run 'bundle install' locally in the app directory"
echo " 2. Commit the updated Gemfile.lock file"
echo " 3. Push your changes"
echo ""
echo "This ensures everyone has the exact same gem versions."
exit 1
fi
Loading
Loading