chore(deps): update dependency react-native-test-app to v2.5.14 #4251
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: CI | |
on: pull_request | |
concurrency: | |
# Ensure single build of a pull request | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
review: | |
name: "Review" | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup the toolchain | |
uses: ./.github/actions/setup-toolchain | |
- name: Ensure rnx-kit packages come from our repository | |
run: | | |
if grep 'rnx-kit.*@npm' yarn.lock; then | |
exit 1 | |
fi | |
- name: Deduplicate packages | |
run: | | |
yarn dedupe --check | |
- name: Install package dependencies | |
run: | | |
yarn | |
- name: Check for change files | |
run: | | |
yarn change:check --since origin/${{ github.base_ref }} | |
- name: Report formatting problems | |
run: | | |
yarn format | |
git diff --exit-code | |
- name: Report dependency problems | |
run: | | |
yarn rnx-align-deps --write | |
git diff --exit-code | |
- name: Report @rnx-kit/build workflow inconsistencies | |
run: | | |
cp incubator/build/workflows/github.yml .github/workflows/rnx-build.yml | |
git diff --exit-code | |
build: | |
name: "Build" | |
strategy: | |
matrix: | |
node-version: [14, 16, 18] | |
os: [ubuntu-22.04, windows-2022] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup the toolchain | |
uses: ./.github/actions/setup-toolchain | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install package dependencies | |
run: | | |
yarn | |
- name: Build and test packages | |
run: | | |
yarn build:ci --base origin/${{ github.base_ref }} | |
- name: Ensure READMEs are up-to-date | |
if: ${{ matrix.node-version == 18 && matrix.os == 'ubuntu-22.04' }} | |
run: | | |
yarn update-readme | |
git diff --exit-code | |
- name: Bundle packages | |
run: | | |
yarn bundle | |
- name: Bundle test app with esbuild | |
run: | | |
yarn bundle+esbuild | |
shell: bash | |
working-directory: packages/test-app | |
- name: Bundle test app with RAM bundle format | |
run: | | |
yarn ram-bundle | |
shell: bash | |
working-directory: packages/test-app | |
build-android-test-app: | |
name: "Build Android" | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup the toolchain | |
uses: ./.github/actions/setup-toolchain | |
with: | |
jdk-version: 11 | |
- name: Install package dependencies | |
run: | | |
yarn | |
- name: Build Android app | |
run: | | |
yarn build:android | |
working-directory: packages/test-app | |
build-ios-test-app: | |
name: "Build iOS" | |
runs-on: macos-12 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup the toolchain | |
uses: ./.github/actions/setup-toolchain | |
with: | |
platform: ios | |
- name: Install package dependencies | |
run: | | |
yarn | |
- name: Install Pods | |
uses: microsoft/react-native-test-app/.github/actions/cocoapods@trunk | |
with: | |
project-directory: ios | |
working-directory: packages/test-app | |
- name: Build iOS app | |
run: | | |
yarn build:ios | |
working-directory: packages/test-app | |
build-website: | |
name: "Build the website" | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup the toolchain | |
uses: ./.github/actions/setup-toolchain | |
with: | |
node-cache: "" | |
- name: Install package dependencies (docsite) | |
run: | | |
yarn | |
working-directory: docsite | |
- name: Build website | |
run: | | |
yarn build | |
working-directory: docsite | |
label: | |
name: "Label" | |
permissions: | |
contents: read | |
pull-requests: write | |
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@v4 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true | |
continue-on-error: true |