SaltyMonkey лет назад: 6
Родитель
Сommit
5add800991
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 3
      .github/workflows/ci.yml
  2. 1 1
      package.json

+ 1 - 3
.github/workflows/ci.yml

@@ -13,9 +13,7 @@ jobs:
       with:
         node-version: 12
     - name: Install deps
-      run: |
-          npm ci
-          npm install -g eslint
+      run: npm install
     - name: Lint
       run: npm run lint
     - name: Cleanup

+ 1 - 1
package.json

@@ -7,7 +7,7 @@
     "node": ">=12.4.0"
   },
   "scripts": {
-    "lint": "eslint **/*.js --fix",
+    "lint": "npx eslint '**/*.js' --fix",
     "version": "auto-changelog --package && git add CHANGELOG.md",
     "manifest": "node ./.manifest.js"
   },