Update main.yml
This commit is contained in:
1 parent
b4cb0fee52
commit
31ea583edb
1 file changed
+8
-3
@@ -8,7 +8,12 @@ jobs:
|
|||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '12'
|
||||||
- name: Install modules
|
- name: Install dependencies
|
||||||
run: yarn install
|
run:
|
||||||
|
yarn init
|
||||||
|
yarn add eslint --dev
|
||||||
|
yarn install
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: eslint .
|
run:
|
||||||
|
yarn run eslint --init
|
||||||
|
eslint .
|
||||||
Reference in new issue
Block a user