Skip to content

Commit d855bd8

Browse files
committed
workflow npm changes
1 parent a9cd8e3 commit d855bd8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ jobs:
9797
git clean -fdX # Remove untracked files and directories
9898
git gc --prune=now # Garbage collect and prune unreachable objects
9999
100+
echo "Installing ESLint dependencies..."
101+
npm install --save-dev eslint @eslint/js globals
102+
100103
if [ ! -f "eslint.config.cjs" ]; then
101104
echo "Creating default ESLint config..."
102105
cat <<EOL > eslint.config.cjs
@@ -186,6 +189,9 @@ jobs:
186189
git clean -fdX # Remove untracked files and directories
187190
git gc --prune=now # Garbage collect and prune unreachable objects
188191
192+
echo "Installing ESLint dependencies..."
193+
npm install --save-dev eslint @eslint/js globals
194+
189195
if [ ! -f "eslint.config.cjs" ]; then
190196
echo "Creating default ESLint config..."
191197
cat <<EOL > eslint.config.cjs
@@ -276,6 +282,9 @@ jobs:
276282
git clean -fdX # Remove untracked files and directories
277283
git gc --prune=now # Garbage collect and prune unreachable objects
278284
285+
echo "Installing ESLint dependencies..."
286+
npm install --save-dev eslint @eslint/js globals
287+
279288
if [ ! -f "eslint.config.cjs" ]; then
280289
echo "Creating default ESLint config..."
281290
cat <<EOL > eslint.config.cjs

0 commit comments

Comments
 (0)