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'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
yarn install
|
||||
npm install eslint --save-dev
|
||||
npm init
|
||||
- name: Lint
|
||||
run: |
|
||||
yarn init
|
||||
yarn run eslint --init
|
||||
yarn run eslint . --ext .js
|
||||
npx eslint --init
|
||||
npx eslint . --ext .js
|
||||
|
||||
Reference in New Issue
Block a user