Update main.yml
This commit is contained in:
1 parent
7186be028b
commit
4649ab87c6
1 file changed
+4
-4
@@ -10,9 +10,9 @@ jobs:
|
|||||||
node-version: '12'
|
node-version: '12'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
npm install eslint --save-dev
|
||||||
|
npm init
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: |
|
run: |
|
||||||
yarn init
|
npx eslint --init
|
||||||
yarn run eslint --init
|
npx eslint . --ext .js
|
||||||
yarn run eslint . --ext .js
|
|
||||||
Reference in new issue
Block a user