chore(deps): bump reflect-metadata from 0.1.14 to 0.2.2 in /example #55
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: "Update Lockfiles (bun.lockb + Podfile.lock)" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/update-lockfiles.yml" | |
- "package.json" | |
- "**/package.json" | |
pull_request: | |
paths: | |
- ".github/workflows/update-lockfiles.yml" | |
- "package.json" | |
- "**/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: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.ref }} | |
- uses: oven-sh/setup-bun@v2 | |
- name: Setup Ruby (bundle) | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.2 | |
bundler-cache: true | |
working-directory: example/ios | |
- run: | | |
bun install | |
git add bun.lockb | |
bun example bundle-install | |
bun example pods | |
git add 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 |