Files
self/.github/workflows/mobile-sdk-demo-ci.yml
Javier Cortejoso 8c96f6fd5c Merge pull request #1523 from selfxyz/jcortejoso/no-path-filter (#1528)
SELF-1684: Ensure checks are run with pull requests to staging/main
2025-12-25 01:05:09 +01:00

33 lines
897 B
YAML

name: Mobile SDK Demo CI
on:
pull_request:
paths:
- "packages/mobile-sdk-alpha/**"
- "packages/mobile-sdk-demo/**"
- ".github/workflows/mobile-sdk-demo-ci.yml"
- ".github/actions/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install Dependencies
uses: ./.github/actions/yarn-install
- name: Build dependencies (topological)
shell: bash
run: |
# Build demo app and all its transitive workspace deps in the correct order
yarn workspaces foreach -R -t --from mobile-sdk-demo run build
- name: Run demo app tests
run: |
yarn workspace mobile-sdk-demo test
- name: Build demo app
run: |
yarn build:demo