Update tanstack-query monorepo to v5 #1121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check & Update Cocoapods | |
on: | |
push: | |
branches: | |
- renovate/** | |
paths: | |
- package-lock.json | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
ios-podfile-update: | |
# Adapted from https://gist.github.com/A-Tokyo/0d811e818513fc4d3272335d2847d748 | |
name: iOS Update Cocoapods | |
runs-on: macos-14 | |
timeout-minutes: 15 | |
if: github.actor == 'renovate[bot]' | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
token: ${{ secrets.COCOAPODS_LOCKFILE_GH_PUSH_TOKEN }} | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 | |
with: | |
node-version-file: '.node-version' | |
cache: npm | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1' | |
bundler-cache: true | |
- run: sudo xcode-select -s /Applications/Xcode_15.2.app | |
- run: npm ci | |
- run: bundle exec -- pod install --verbose | |
working-directory: ./ios | |
- name: push-on-podfile-change | |
run: bash scripts/push-on-podfile-change.sh | |
env: | |
branch: ${{ github.ref_name }} | |
head_ref: ${{ github.ref }} |