mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
33 lines
897 B
YAML
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
|