Skip to content

Update(demo): limit value in load function #12

Update(demo): limit value in load function

Update(demo): limit value in load function #12

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 i --frozen-lockfile
- 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