@@ -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
@@ -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"