From 1cfe2081cc537a178a814d9f7f4f7489af06f088 Mon Sep 17 00:00:00 2001 From: RohitKini <57343193+RohitKini@users.noreply.github.com> Date: Wed, 19 Mar 2025 14:51:31 +0530 Subject: [PATCH] workflow npm changes --- .github/workflows/repo-sync.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 045ca1b17..f96f49258 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -97,6 +97,9 @@ jobs: git clean -fdX # Remove untracked files and directories git gc --prune=now # Garbage collect and prune unreachable objects + echo "Installing ESLint dependencies..." + npm install --save-dev eslint @eslint/js globals + if [ ! -f "eslint.config.cjs" ]; then echo "Creating default ESLint config..." cat < eslint.config.cjs @@ -186,6 +189,9 @@ jobs: git clean -fdX # Remove untracked files and directories git gc --prune=now # Garbage collect and prune unreachable objects + echo "Installing ESLint dependencies..." + npm install --save-dev eslint @eslint/js globals + if [ ! -f "eslint.config.cjs" ]; then echo "Creating default ESLint config..." cat < eslint.config.cjs @@ -276,6 +282,9 @@ jobs: git clean -fdX # Remove untracked files and directories git gc --prune=now # Garbage collect and prune unreachable objects + echo "Installing ESLint dependencies..." + npm install --save-dev eslint @eslint/js globals + if [ ! -f "eslint.config.cjs" ]; then echo "Creating default ESLint config..." cat < eslint.config.cjs