feat: add support for scrcpy 2.x with audio and socket id support scr… #129
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: Node.js CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| paths: | |
| - "src/**" | |
| - "test/**" | |
| - "package.json" | |
| - "pnpm-lock.yaml" | |
| - "tsconfig.json" | |
| - ".github/workflows/test.yml" | |
| pull_request: | |
| branches: [ "master" ] | |
| paths: | |
| - "src/**" | |
| - "test/**" | |
| - "package.json" | |
| - "pnpm-lock.yaml" | |
| - "tsconfig.json" | |
| - ".github/workflows/test.yml" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [ 20, 22, 24 ] | |
| steps: | |
| - run: sudo apt-get install -y android-tools-adb | |
| - uses: actions/checkout@v3 | |
| - uses: pnpm/action-setup@v2 | |
| with: | |
| version: 9.10.0 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: run pnpm install | |
| run: pnpm install --frozen-lockfile | |
| - run: pnpm run test |