fix: Make closeWindow return remaining window handles per W3C spec (#… #8904
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: Unit Tests | |
| on: | |
| pull_request: | |
| branches: [master] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| - 'mkdocs.yml' | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| - 'mkdocs.yml' | |
| jobs: | |
| node_matrix: | |
| uses: appium/appium-workflows/.github/workflows/node-lts-matrix.yml@main | |
| test: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - node_matrix | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: ${{ fromJSON(needs.node_matrix.outputs.versions) }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - uses: SocketDev/action@v1 | |
| with: | |
| mode: firewall-free | |
| - run: sfw npm install --no-package-lock | |
| name: Install dev dependencies | |
| - run: npm run lint | |
| name: Run linter | |
| - run: npm run format:check | |
| name: Run format check | |
| - run: npm run test | |
| name: Unit Tests |