feat: Enhance keyboard scroll modifier (bringIntoView) to support d…
#310
This file contains hidden or 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: On Push Main | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| bump_version: | |
| env: | |
| JDK_VERSION: 17 | |
| permissions: | |
| id-token: write | |
| contents: write | |
| packages: write | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout codebase | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| lfs: 'true' | |
| submodules: 'true' | |
| fetch-depth: 0 | |
| - name: Clean runner | |
| uses: ./mobile-android-pipelines/actions/clean-runner | |
| - name: Clean workspace | |
| uses: ./mobile-android-pipelines/actions/clean-workspace | |
| - name: Setup GitHub Runner workflow | |
| uses: ./mobile-android-pipelines/actions/setup-runner | |
| with: | |
| gradle-cache-disabled: ${{ inputs.GRADLE_CACHE_DISABLED }} | |
| - name: Verify Conventional commit standards against latest git tag | |
| uses: ./mobile-android-pipelines/actions/verify-conventional-commit | |
| - name: Lint script files | |
| uses: ./mobile-android-pipelines/actions/lint | |
| - name: Screenshot test | |
| run: | | |
| ./gradlew patterns:verifyPaparazziDebug \ | |
| componentsv2:verifyPaparazziDebug \ | |
| theme:verifyPaparazziDebug \ | |
| --continue \ | |
| -Pgpr.user=${{ secrets.GITHUB_ACTOR }} \ | |
| -Pgpr.token=${{ secrets.GITHUB_TOKEN }} | |
| shell: bash | |
| - name: Run gradle testing suite | |
| uses: ./mobile-android-pipelines/actions/run-testing-suite | |
| - name: Increment the release version using Conventional Commits | |
| id: versioning | |
| if: ${{ github.event_name != 'pull_request' }} | |
| uses: ./mobile-android-pipelines/actions/increment-version | |
| - name: Sonar scan | |
| uses: ./mobile-android-pipelines/actions/sonar-scan | |
| with: | |
| sonar-token: ${{ secrets.SONAR_TOKEN }} | |
| version-name: ${{ steps.versioning.outputs.new_version }} | |
| - name: Bundle reports folder | |
| uses: ./mobile-android-pipelines/actions/bundle-reports | |
| - name: Publish release tags | |
| if: ${{ github.event_name != 'pull_request' | |
| && steps.versioning.outputs.current_version != steps.versioning.outputs.new_version }} | |
| uses: ./mobile-android-pipelines/actions/publish-release-tag | |
| - name: Test local publish | |
| if: ${{ github.event_name == 'pull_request' }} | |
| uses: ./mobile-android-pipelines/actions/maven-publish-local | |
| with: | |
| version-name: ${{ steps.versioning.outputs.new_version }} | |
| - name: Publish package | |
| if: ${{ github.event_name != 'pull_request' | |
| && steps.versioning.outputs.current_version != steps.versioning.outputs.new_version }} | |
| uses: ./mobile-android-pipelines/actions/maven-publish | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_ACTOR: ${{ github.actor }} | |
| VERSION_NAME: ${{ steps.versioning.outputs.new_version }} | |
| - name: Generate Changelog | |
| uses: ./mobile-android-pipelines/actions/generate-and-upload-changelog | |
| with: | |
| current-version: ${{ steps.versioning.outputs.current_version }} | |
| new-version: ${{ steps.versioning.outputs.new_version }} | |
| version-prefix: ${{ inputs.VERSION_PREFIX }} | |
| - name: Clean workspace | |
| uses: ./mobile-android-pipelines/actions/clean-workspace |