[Android] Dispatch cancel event only when root view is enabled (#4123) #2646
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: Test TypeScript and Lint | |
| on: | |
| pull_request: | |
| paths: | |
| - apps/basic-example/**' | |
| - apps/common-app/** | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| if: github.repository == 'software-mansion/react-native-gesture-handler' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| working-directory: [apps/basic-example, apps/common-app] | |
| concurrency: | |
| group: typescript-${{ matrix.working-directory }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 24 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: yarn | |
| - name: Install node dependencies | |
| run: yarn --immutable | |
| - name: Check types | |
| working-directory: ${{ matrix.working-directory }} | |
| run: yarn ts-check | |
| - name: Lint | |
| working-directory: ${{ matrix.working-directory }} | |
| run: yarn lint-js |