Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(workflows): setup expo dependencies (#8)
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: Setup dependencies for expo sdk by ignoring renovate-bot update and instead use `yarn expo-cli upgrade`. #### Additional notes: The ignore list is derived using `.github/renovate.json`: ```js console.log(JSON.stringify(Object.keys(JSON.parse(require('fs').readFileSync('./bundledNativeModules.json', 'utf8'))))) ```
- Loading branch information
Showing
6 changed files
with
3,545 additions
and
154 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Expo Dependencies | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
|
||
- run: corepack enable yarn | ||
|
||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: yarn | ||
|
||
- run: yarn install --frozen-lockfile | ||
|
||
- run: yarn expo-cli upgrade | ||
working-directory: ./app | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@d7db273d6c7206ba99224e659c982ae34a1025e3 # v4.2.1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: 'bump(deps): `expo-cli upgrade` dependencies' | ||
committer: Levain Keychain Bot <github-actions[bot]@users.noreply.github.com> | ||
author: Levain Keychain Bot <github-actions[bot]@users.noreply.github.com> | ||
title: 'bump(deps): `expo-cli upgrade` dependencies' | ||
body: | | ||
#### What this PR does / why we need it: | ||
Bump expo dependencies to newest release with `expo-cli upgrade`. | ||
branch: github-actions/expo-deps |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# keychain/app | ||
|
||
## Dependencies Management | ||
|
||
- `package.json:dependencies` that are required for the app to run used in production and installed on the client (mobile devices). | ||
- `package.json:devDependencies` that are required for the app to build and function but not necessary part of the app such as testing, linting, etc. |
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
Oops, something went wrong.