Release to Staging v2.9.28 - 2026-08-07 #702
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: WebView Bridge CI | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths: | |
| - "common/**" | |
| - "packages/mobile-sdk-alpha/**" | |
| - "packages/webview-bridge/**" | |
| - ".github/workflows/webview-bridge-ci.yml" | |
| - ".github/actions/**" | |
| - ".github/CI_FORCE_RUN" | |
| push: | |
| branches: [dev, staging, main] | |
| paths: | |
| - "common/**" | |
| - "packages/mobile-sdk-alpha/**" | |
| - "packages/webview-bridge/**" | |
| - ".github/workflows/webview-bridge-ci.yml" | |
| - ".github/actions/**" | |
| - ".github/CI_FORCE_RUN" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/pnpm-install | |
| - name: Cache Turbo | |
| uses: ./.github/actions/cache-turbo | |
| with: | |
| key-prefix: webview-bridge-build | |
| - name: Build webview-bridge and dependencies | |
| run: pnpm exec turbo run build --filter="@selfxyz/webview-bridge" | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/pnpm-install | |
| - name: Cache Turbo | |
| uses: ./.github/actions/cache-turbo | |
| with: | |
| key-prefix: webview-bridge-lint | |
| - name: Build dependencies | |
| run: pnpm exec turbo run build --filter="@selfxyz/webview-bridge^..." | |
| - name: Run linter | |
| run: pnpm --filter @selfxyz/webview-bridge lint | |
| format: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/pnpm-install | |
| - name: Check Prettier formatting | |
| run: pnpm --filter @selfxyz/webview-bridge fmt | |
| types: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/pnpm-install | |
| - name: Cache Turbo | |
| uses: ./.github/actions/cache-turbo | |
| with: | |
| key-prefix: webview-bridge-types | |
| - name: Build dependencies | |
| run: pnpm exec turbo run build --filter="@selfxyz/webview-bridge^..." | |
| - name: Typecheck | |
| run: pnpm --filter @selfxyz/webview-bridge types | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/pnpm-install | |
| - name: Check for nested require() in tests | |
| uses: ./.github/actions/check-nested-requires | |
| with: | |
| paths: | | |
| packages/webview-bridge/src/__tests__/ | |
| - name: Test | |
| run: pnpm --filter @selfxyz/webview-bridge test |