From babfdea70c44aff89b05311b5190eb23bfd17018 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Sun, 1 Nov 2026 22:26:48 +0530 Subject: [PATCH] Standardize CI workflow to use package.json scripts --- .github/workflows/ci.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3ed43d..600939b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,15 +19,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'npm' - - name: Install ESLint - run: npm install --save-dev eslint@8 + - name: Install dependencies + run: npm install - - name: Run ESLint on JS files - run: npx eslint "**/*.js" || true - - - name: Install html-validate - run: npm install --save-dev html-validate - - - name: Run HTML validation - run: npx html-validate "**/*.html" || true + - name: Run lint + run: npm run lint