Update sniff to fruther improve whitespace consistency after closing … #13009
Workflow file for this run
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: Inspections | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, labeled, synchronize] | |
| jobs: | |
| runESLintInspection: | |
| if: contains(github.event.pull_request.labels.*.name, 'run analysis') | |
| name: Run ESLint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: "20.10.0" | |
| - name: Cache dependencies | |
| id: cache-npm | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.npm | |
| node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-modules- | |
| - name: Install dependencies | |
| if: steps.cache-npm.outputs.cache-hit != 'true' | |
| run: npm ci --include=dev | |
| - name: Run ESLint | |
| run: ./node_modules/.bin/eslint . |