feat(extension): browser extension package, demo harness, and CI (CEP-02) #1644
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: Mobile SDK Demo CI | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths: | |
| - "packages/mobile-sdk-alpha/**" | |
| - "packages/mobile-sdk-demo/**" | |
| - ".github/workflows/mobile-sdk-demo-ci.yml" | |
| - ".github/actions/**" | |
| - ".github/CI_FORCE_RUN" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Install Dependencies | |
| uses: ./.github/actions/pnpm-install | |
| - name: Build dependencies (topological) | |
| shell: bash | |
| run: | | |
| # Build demo app and all its transitive workspace deps in the correct order | |
| pnpm -r --filter mobile-sdk-demo... run build | |
| - name: Run demo app tests | |
| run: | | |
| pnpm --filter mobile-sdk-demo test | |
| - name: Build demo app | |
| run: | | |
| pnpm build:demo |