fix(forwarding): restore hold-to-stop for scanning profiles #305
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run validate | |
| native-projects: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [android, ios] | |
| runs-on: ${{ matrix.platform == 'ios' && 'macos-26' || 'ubuntu-latest' }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - if: matrix.platform == 'ios' | |
| run: sudo xcode-select --switch /Applications/Xcode_26.6.app | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - run: npm ci | |
| - run: npx expo prebuild --clean --platform ${{ matrix.platform }} --no-install | |
| - if: matrix.platform == 'android' | |
| working-directory: android | |
| run: ./gradlew assembleDebug | |
| - if: matrix.platform == 'ios' | |
| working-directory: ios | |
| run: pod install | |
| - if: matrix.platform == 'ios' | |
| run: xcodebuild -workspace ios/SwitchifyRemote.xcworkspace -scheme SwitchifyRemote -sdk iphonesimulator -configuration Debug CODE_SIGNING_ALLOWED=NO build |