Skip to content

chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 #652

chore(deps): bump actions/checkout from 7.0.0 to 7.0.1

chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 #652

Workflow file for this run

name: Test
on:
push:
branches: [main]
paths-ignore:
- '**.md'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
jobs:
android-compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: set up JDK 17
uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0
with:
java-version: '17'
distribution: 'adopt'
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.npm
~/node_modules
~/ci/node_modules
~/.config/yarn/global
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: |
yarn install --immutable
cd ci
yarn install --immutable
- name: Compile Android (Debug)
working-directory: ./ci/android/
run: ./gradlew assembleDebug
ios-compile:
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.npm
~/node_modules
~/ci/node_modules
~/.config/yarn/global
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache gem bundle
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ./ci/vendor
key: ${{ runner.os }}-gembundle-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gembundle-
- name: Cache cocoapods
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ./ci/ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: |
yarn install --immutable
cd ci/
yarn install --immutable
- name: Pods
run: |
cd ci/ios/
bundle install
bundle exec pod update hermes-engine --no-repo-update
bundle exec pod install --verbose
- name: Compile iOS
working-directory: ./ci/ios/
run: |
set -o pipefail && \
xcodebuild -workspace ci.xcworkspace/ \
-scheme ci \
-destination generic/platform=iOS \
-configuration Debug \
-verbose \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_ENTITLEMENTS="" \
CODE_SIGNING_ALLOWED="NO" \
clean build | xcpretty