Skip to content

chore(deps-dev): bump @types/react-test-renderer from 18.3.1 to 19.0.0 #164

chore(deps-dev): bump @types/react-test-renderer from 18.3.1 to 19.0.0

chore(deps-dev): bump @types/react-test-renderer from 18.3.1 to 19.0.0 #164

name: 'Update Lockfiles (bun.lockb + Podfile.lock)'
on:
push:
branches:
- 0.x
paths:
- ".github/workflows/update-lockfiles.yml"
pull_request:
paths:
- ".github/workflows/update-lockfiles.yml"
- "packages/react-native-quick-crypto/package.json"
- "packages/example/package.json"
permissions:
contents: write
jobs:
update-lockfiles:
name: "Update lockfiles (bun.lockb + Podfile.lock)"
if: github.actor == 'dependabot[bot]'
runs-on: macOS-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
working-directory: packages/example/ios
- name: Restore Pods cache
uses: actions/cache@v4
with:
path: |
packages/example/ios/Pods
~/Library/Caches/CocoaPods
~/.cocoapods
key: ${{ runner.os }}-pods-0.x-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-0.x-
- name: Install Gems
working-directory: packages/example/ios
run: bundle config set deployment 'true' && bundle install
- name: Update & Commit Lockfiles
run: |
bun install
bun pods
git add bun.lockb
git add packages/react-native-quick-crypto/bun.lockb
git add packages/example/bun.lockb
git add packages/example/ios/Podfile.lock
git config --global user.name 'dependabot[bot]'
git config --global user.email 'dependabot[bot]@users.noreply.github.com'
git commit --amend --no-edit
git push --force