Bump react-native-builder-bob from 0.32.1 to 0.33.1 #443
Workflow file for this run
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: Build | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
- CHANGELOG.md | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
- CHANGELOG.md | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: macos-latest | |
name: π οΈ Build | |
steps: | |
- name: β¬οΈ Checkout repo | |
uses: actions/checkout@v4 | |
- name: β Setup turborepo caching | |
uses: rharkor/[email protected] | |
- name: β Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: β Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: π₯ Download deps | |
run: pnpm install # also does prepare | |
- name: π Prettier check | |
run: pnpm format:check | |
# - name: π οΈ Build | |
# run: pnpm build | |
- name: π¬ Lint | |
run: pnpm lint | |
- name: π§ͺ Test | |
run: pnpm test | |
- name: β Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: ποΈ Cache Gradle | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/wrapper | |
~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('examples/identity/android/gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
save-always: true | |
- name: Set SDK path | |
run: cd examples/identity && echo "sdk.dir=$ANDROID_HOME" >> android/local.properties | |
- name: π οΈ Build examples for Android | |
run: pnpm build:android | |
env: | |
JAVA_OPTS: '-XX:MaxHeapSize=6g' | |
# - name: Build examples for iOS | |
# run: pnpm build:ios | |
- name: π£ Create Release Pull Request or Publish to npm | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: changesets/action@v1 | |
with: | |
title: 'chore(release): version packages' | |
publish: pnpm packages:publish | |
version: pnpm packages:version | |
commit: 'chore(release): version packages' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |