chore(deps): update dependency eslint-plugin-eslint-plugin to v7.6.2 #3119
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 | |
| - name: Set node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: lts/* | |
| - name: Setup | |
| run: npm i -g @antfu/ni | |
| - name: Install | |
| run: nci | |
| - name: Build | |
| run: nr build | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 | |
| - name: Set node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: lts/* | |
| - name: Setup | |
| run: npm i -g @antfu/ni | |
| - name: Install | |
| run: nci | |
| - name: Cache ESLint | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| key: eslint-cache-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml', 'eslint.config.*', '.eslintignore') }}-${{ github.run_id }} | |
| path: .eslintcache* | |
| restore-keys: | | |
| eslint-cache-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml', 'eslint.config.*', '.eslintignore') }}- | |
| eslint-cache-${{ runner.os }}- | |
| # Before the build: `nr build` runs `nr gen`, which rewrites the | |
| # `packageExtensions` block, so a table committed without regenerating | |
| # would be repaired in place and the drift never reported. | |
| - name: Check package extensions | |
| run: nr check:extensions | |
| # Same reason: a snapshot committed without regenerating would be | |
| # repaired by `nr gen` and the drift never reported. A missed type-aware | |
| # rule is sorted into the pass that has no TypeScript program. | |
| - name: Check type-aware snapshot | |
| run: nr check:type-aware | |
| # Same reason again. A stale word list silently narrows what | |
| # `naming: { allowedWords: true }` lets through. | |
| - name: Check Roblox allowed-words snapshot | |
| run: nr check:roblox-words | |
| - name: Build | |
| run: nr build | |
| - name: Lint | |
| run: nr lint | |
| - name: Validate oxlint config | |
| run: nr validate:oxlint | |
| # After the build: reads the emitted declarations. | |
| - name: Check published extensions | |
| run: nr check:published | |
| - name: Typecheck | |
| run: nr typecheck | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 | |
| - name: Set node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: lts/* | |
| - name: Setup | |
| run: npm i -g @antfu/ni | |
| - name: Install | |
| run: nci | |
| - name: Test | |
| run: nr test |