Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

expo install --fix #812

expo install --fix

expo install --fix #812

name: expo install --fix
on:
workflow_dispatch:
schedule:
- cron: '30 1,13 * * *'
permissions:
contents: read
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- run: corepack enable yarn
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn expo install --fix
working-directory: ./app
- id: app_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ vars.KEYCHAIN_BOT_APP_ID }}
private_key: ${{ secrets.KEYCHAIN_BOT_PRIVATE_KEY }}
- uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
with:
token: ${{ steps.app_token.outputs.token }}
commit-message: 'bump(deps): `expo install --fix`'
title: 'bump(deps): `expo install --fix`'
committer: Keychain Bot <githubapp+349640@users.noreply.github.com>
author: Keychain Bot <githubapp+349640@users.noreply.github.com>
body: |
#### What this PR does / why we need it:
Bump expo dependencies to newest release with `expo install --fix`, this command also fixes `./app/package.json` and `./app/app.json` files to patch any non-compliant dependencies.
branch: keychain-bot/expo-install-fixes