chore(deps): bump tar from 6.2.0 to 6.2.1 in /TvOSExample #70
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: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
cache-dependency-path: "yarn.lock" | |
- name: Install node dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run linter | |
run: yarn lint | |
run-tests: | |
needs: lint | |
runs-on: macos-12 | |
strategy: | |
fail-fast: true | |
matrix: | |
include: | |
- name: Legacy architecture | |
scheme: TvOSExample | |
pod_install_command: pod install | |
- name: Fabric architecture | |
scheme: FabricTvOSExample | |
pod_install_command: RCT_NEW_ARCH_ENABLED=1 pod install | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
cache-dependency-path: | | |
yarn.lock | |
${{ matrix.scheme }}/yarn.lock | |
- name: Install package node dependencies | |
run: yarn install --immutable | |
- name: Publish package locally | |
run: yarn dlx yalc publish | |
- name: Install local package | |
working-directory: ${{ matrix.scheme }} | |
run: yarn dlx yalc add rn-tvos-tab-bar | |
- name: Install example project node dependencies | |
working-directory: ${{ matrix.scheme }} | |
run: yarn install --no-immutable | |
- name: Install pods | |
working-directory: ${{ matrix.scheme }}/ios | |
run: ${{ matrix.pod_install_command }} | |
- name: Build app | |
uses: sersoft-gmbh/xcodebuild-action@v3 | |
with: | |
workspace: ${{ matrix.scheme }}/ios/${{ matrix.scheme }}.xcworkspace | |
scheme: ${{ matrix.scheme }}-tvOS | |
destination: platform=TvOS Simulator,name=Apple TV | |
action: clean build | |
build-settings: CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO |