Skip to content

fix: final load jump when top is true (#71) #7

fix: final load jump when top is true (#71)

fix: final load jump when top is true (#71) #7

Workflow file for this run

name: ESLint Workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install Dependencies
run: npm install -g pnpm && pnpm install
- name: Run ESLint
run: pnpm run lint
- name: Check for auto-fix changes
run: |
changes=$(git status --porcelain)
if [ -n "$changes" ]; then
echo "ESLint auto-fix changes detected. Please fix them locally and push again."
exit 1
fi