name: keyboard-portability on: workflow_call: workflow_dispatch: permissions: contents: read jobs: test: name: Test (${{ matrix.os }}) strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup pnpm uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 - name: Setup Node.js uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: cache: pnpm cache-dependency-path: pnpm-lock.yaml node-version-file: .nvmrc - name: Install dependencies run: pnpm install --frozen-lockfile - name: Test keyboard portability run: pnpm --filter cli-testing-library test:keyboard:portability