Skip to content

Resolve an issue on React Native #134

Resolve an issue on React Native

Resolve an issue on React Native #134

Workflow file for this run

name: Test
on:
push:
branches:
- main
- develop
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
test:
name: Automated Code Review
runs-on: macos-14
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
steps:
- uses: actions/[email protected]
- name: Cache RubyGems
uses: actions/cache@v3
id: rubygem-cache
with:
path: vendor/bundle
key: ${{ env.IMAGE }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ env.IMAGE }}-gem-
- run: bundle install
- run: brew install sonar-scanner
- run: bundle exec fastlane code_review
- run: bundle exec fastlane sonar_upload