name: PR Quality Gate (Desktop) on: pull_request: paths: - "js/desktop/**" branches: [ main ] types: [ opened, synchronize, reopened ] jobs: verify: name: Lint & format check (desktop) runs-on: ubuntu-latest defaults: run: working-directory: js/desktop steps: - name: Check out repository code uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: '20' - name: Enable Corepack run: corepack enable - name: Install dependencies run: yarn install --immutable - name: Typecheck run: yarn typecheck - name: Run Code Linter run: yarn lint - name: Run Format Check run: yarn format:check