Skip to content

Bump the minor group with 4 updates #84

Bump the minor group with 4 updates

Bump the minor group with 4 updates #84

Workflow file for this run

name: PR Lint
on:
push:
pull_request_target:
paths-ignore:
- 'docs/**'
# Ensures that only one deploy task per branch/environment will run at a time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: pnpm
- name: Cache ESLint
uses: actions/cache@v4
env:
cache-name: cache-eslint
with:
path: ~/.eslintcache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('.eslintrc') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('.eslintrc') }}
${{ runner.os }}-${{ env.cache-name }}-
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Prettier
run: pnpm lint:prettier
- name: Save ESLint Report JSON
run: pnpm lint-report:cached
continue-on-error: true
- name: Annotate ESLint Results
if: github.event_name == 'pull_request_target'
uses: ataylorme/eslint-annotate-action@v3
with:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
report-json: 'eslint.results.json'
fail-on-warning: true