Update main.yml
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -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