CI: add eslint workflow in the CI (#3602)
Signed-off-by: kushthedude <kushthedude@gmail.com>
This commit is contained in:
parent
deb4b86451
commit
f2d2be1356
2
.github/workflows/pull_request.yml
vendored
2
.github/workflows/pull_request.yml
vendored
@ -133,7 +133,7 @@ jobs:
|
||||
- name: Lint with Prettier
|
||||
run: |
|
||||
cd ./main/tests/cypress
|
||||
yarn check-lint
|
||||
yarn lint
|
||||
|
||||
- name: Test with Cypress on ${{ matrix.browser }}
|
||||
run: |
|
||||
|
@ -7,8 +7,8 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "cypress run --browser electron --headless --quiet",
|
||||
"lint": "prettier --write .",
|
||||
"check-lint": "prettier --check ."
|
||||
"fix-lint": "prettier --write . && eslint --fix .",
|
||||
"lint": "prettier --check . && eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"cypress": "6.4.0",
|
||||
|
Loading…
Reference in New Issue
Block a user