mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 21:28:12 +08:00
add eslint dep install
This commit is contained in:
@@ -31,11 +31,15 @@ jobs:
|
|||||||
- name: Lint all with eslint
|
- name: Lint all with eslint
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
make lint-client
|
cd client
|
||||||
|
npm i "eslint" "eslint-config-airbnb" "eslint-config-prettier" "eslint-loader" "eslint-plugin-filenames" "eslint-plugin-import" "eslint-plugin-jest" "eslint-plugin-jsx-a11y" "eslint-plugin-react" "eslint-plugin-react-hooks"
|
||||||
|
make lint
|
||||||
- name: Lint diff with eslint
|
- name: Lint diff with eslint
|
||||||
if: github.ref != 'refs/heads/master'
|
if: github.ref != 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
make lint-diff-client
|
cd client
|
||||||
|
npm i "eslint" "eslint-config-airbnb" "eslint-config-prettier" "eslint-loader" "eslint-plugin-filenames" "eslint-plugin-import" "eslint-plugin-jest" "eslint-plugin-jsx-a11y" "eslint-plugin-react" "eslint-plugin-react-hooks"
|
||||||
|
make lint-diff
|
||||||
|
|
||||||
unit-test:
|
unit-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user