fix: Revert "style(lint): clean up manualImpressionsEnabled typing - … #1226
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: Code Quality Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| linting: | |
| name: Lint code | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - uses: actions/cache@v4 | |
| name: Yarn Cache | |
| id: yarn-cache | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('package.json', 'RNGoogleMobileAdsExample/package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Yarn Install | |
| uses: nick-fields/retry@v3 | |
| with: | |
| timeout_minutes: 3 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn | |
| - name: Lint | |
| run: yarn lint:code | |
| - name: Save Code Linting Report JSON | |
| run: yarn lint:report | |
| continue-on-error: true | |
| - name: Annotate Code Linting Results | |
| uses: ataylorme/eslint-annotate-action@3.0.0 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| report-json: 'eslint-report.json' | |
| - name: Upload ESLint report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: eslint-report.json | |
| path: eslint-report.json | |
| typescript: | |
| name: TypeScript Build Validation | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - uses: actions/cache@v4 | |
| name: Yarn Cache | |
| id: yarn-cache | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('package.json', 'RNGoogleMobileAdsExample/package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Yarn Install | |
| uses: nick-fields/retry@v3 | |
| with: | |
| timeout_minutes: 3 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn | |
| - name: Lint | |
| run: yarn tsc:compile | |
| # typedoc: | |
| # name: TypeDoc Generation | |
| # runs-on: ubuntu-latest | |
| # timeout-minutes: 15 | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # with: | |
| # fetch-depth: 1 | |
| # - uses: actions/setup-node@v4 | |
| # with: | |
| # node-version: 18 | |
| # - uses: actions/cache@v4 | |
| # name: Yarn Cache | |
| # id: yarn-cache | |
| # with: | |
| # path: .yarn/cache | |
| # key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}-with-website | |
| # restore-keys: | | |
| # ${{ runner.os }}-yarn- | |
| # - name: Yarn Install | |
| # uses: nick-fields/retry@v3 | |
| # with: | |
| # timeout_minutes: 3 | |
| # retry_wait_seconds: 30 | |
| # max_attempts: 3 | |
| # command: yarn | |
| # - name: Yarn Install (Website) | |
| # uses: nick-fields/retry@v3 | |
| # with: | |
| # timeout_minutes: 3 | |
| # retry_wait_seconds: 30 | |
| # max_attempts: 3 | |
| # command: cd website && yarn | |
| # - name: Generate TypeDoc | |
| # run: node -e "require('./website/scripts/generate-typedoc').generateTypedoc()" |