Restore local WebRTC defaults and CI stream profile #113
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: | | |
| package-lock.json | |
| client/package-lock.json | |
| packages/react-native-inspector/package-lock.json | |
| packages/nativescript-inspector/package-lock.json | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Install root dependencies | |
| run: npm ci | |
| - name: Install client dependencies | |
| run: npm ci --prefix client | |
| - name: Install NativeScript inspector dependencies | |
| run: npm ci --prefix packages/nativescript-inspector | |
| - name: Install React Native inspector dependencies | |
| run: npm ci --prefix packages/react-native-inspector | |
| - name: Lint, build, and test | |
| run: npm run ci | |
| - name: CLI simulator integration tests | |
| run: npm run test:integration:cli | |
| env: | |
| SIMDECK_INTEGRATION_VERBOSE: "1" | |
| - name: JS API simulator integration tests | |
| run: npm run test:integration:js-api |