fix(ios): stub Performance and In-App Messaging when Catalyst SPM hea… #48
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 | |
| - release-v* | |
| permissions: | |
| contents: read | |
| actions: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| linting: | |
| name: Lint | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| env: | |
| NX_NO_CLOUD: true | |
| NX_CACHE_DIRECTORY: .nx/cache | |
| NX_WORKSPACE_DATA_DIRECTORY: .nx/workspace-data | |
| steps: | |
| # https://github.com/actions/checkout/releases | |
| - uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3 | |
| with: | |
| fetch-depth: 1 | |
| # https://github.com/actions/setup-node/releases | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 22 | |
| - name: Configure JDK | |
| # https://github.com/actions/setup-java/releases | |
| uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 # v5.3.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Restore | |
| id: yarn-cache | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| restore-keys: ${{ runner.os }}-yarn-v1 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Restore | |
| id: nx-cache | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} | |
| restore-keys: ${{ runner.os }}-nx-v1 | |
| - name: Yarn Install | |
| # https://github.com/nick-fields/retry/releases | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 15 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn | |
| - name: Lint | |
| # https://github.com/nick-fields/retry/releases | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 3 | |
| retry_wait_seconds: 10 | |
| max_attempts: 3 | |
| command: yarn lint | |
| - name: Codegen verify | |
| # https://github.com/nick-fields/retry/releases | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 10 | |
| retry_wait_seconds: 10 | |
| max_attempts: 3 | |
| command: yarn codegen:verify | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} | |
| typescript: | |
| name: TypeScript Build Validation | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| env: | |
| NX_NO_CLOUD: true | |
| NX_CACHE_DIRECTORY: .nx/cache | |
| NX_WORKSPACE_DATA_DIRECTORY: .nx/workspace-data | |
| steps: | |
| # https://github.com/actions/checkout/releases | |
| - uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3 | |
| with: | |
| fetch-depth: 1 | |
| # https://github.com/actions/setup-node/releases | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 22 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Restore | |
| id: yarn-cache | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| restore-keys: ${{ runner.os }}-yarn-v1 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Restore | |
| id: nx-cache | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} | |
| restore-keys: ${{ runner.os }}-nx-v1 | |
| - name: Yarn Install | |
| # https://github.com/nick-fields/retry/releases | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 15 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn | |
| - name: Lint | |
| run: yarn tsc:compile | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} | |
| attw: | |
| name: Published Package Types (attw) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| # https://github.com/actions/checkout/releases | |
| - uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3 | |
| with: | |
| fetch-depth: 1 | |
| # https://github.com/actions/setup-node/releases | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 22 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Restore | |
| id: yarn-cache | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| restore-keys: ${{ runner.os }}-yarn-v1 | |
| - name: Yarn Install | |
| # https://github.com/nick-fields/retry/releases | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 15 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn | |
| - name: Are The Types Wrong | |
| run: yarn attw:check | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| consumer-types: | |
| name: Consumer Type Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| env: | |
| NX_NO_CLOUD: true | |
| NX_CACHE_DIRECTORY: .nx/cache | |
| NX_WORKSPACE_DATA_DIRECTORY: .nx/workspace-data | |
| steps: | |
| # https://github.com/actions/checkout/releases | |
| - uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3 | |
| with: | |
| fetch-depth: 1 | |
| # https://github.com/actions/setup-node/releases | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 22 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Restore | |
| id: yarn-cache | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| restore-keys: ${{ runner.os }}-yarn-v1 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Restore | |
| id: nx-cache | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} | |
| restore-keys: ${{ runner.os }}-nx-v1 | |
| - name: Yarn Install | |
| # https://github.com/nick-fields/retry/releases | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 15 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn | |
| - name: Consumer Type Test | |
| run: yarn tsc:compile:consumer | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} | |
| typedoc: | |
| name: TypeDoc Generation | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| env: | |
| NX_NO_CLOUD: true | |
| NX_CACHE_DIRECTORY: .nx/cache | |
| NX_WORKSPACE_DATA_DIRECTORY: .nx/workspace-data | |
| steps: | |
| # https://github.com/actions/checkout/releases | |
| - uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3 | |
| with: | |
| fetch-depth: 1 | |
| # https://github.com/actions/setup-node/releases | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 22 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Restore | |
| id: yarn-cache | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-with-website-v1-${{ hashFiles('yarn.lock') }} | |
| restore-keys: ${{ runner.os }}-yarn-with-website-v1 | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Restore | |
| id: nx-cache | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} | |
| restore-keys: ${{ runner.os }}-nx-v1 | |
| - name: Yarn Install | |
| # https://github.com/nick-fields/retry/releases | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 15 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn | |
| - name: Generate TypeDoc | |
| run: yarn reference:api | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Yarn Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .yarn/cache | |
| key: ${{ runner.os }}-yarn-with-website-v1-${{ hashFiles('yarn.lock') }} | |
| # https://github.com/actions/cache/releases | |
| - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| name: Nx Cache Save | |
| if: "${{ github.ref == 'refs/heads/main' }}" | |
| continue-on-error: true | |
| with: | |
| path: .nx/cache | |
| key: ${{ runner.os }}-nx-v1-${{ hashFiles('yarn.lock', 'nx.json', 'lerna.json') }} |